-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (40 loc) · 1.1 KB
/
Copy pathtesting1087.yml
File metadata and controls
51 lines (40 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: testing-1087
on:
workflow_dispatch:
jobs:
ubuntu-20-first:
name: Step 1 - Ubuntu 20.04 container
runs-on: self-hosted
# container:
# image: ubuntu:20.04
steps:
- name: Install required tools
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y curl git ca-certificates tar bash
- name: Setup Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Verify Python
run: |
python --version
python -c "import ssl; print(ssl.OPENSSL_VERSION)"
ubuntu-24-second:
name: Step 2 - Ubuntu 24.04 container
runs-on: ubuntu-latest
needs: ubuntu-20-first
container:
image: ubuntu:24.04
steps:
- name: Install required tools
run: |
apt-get update
apt-get install -y curl git ca-certificates tar bash
- name: Setup Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Upgrade pip
run: |
python -m pip install --upgrade pip