-
Notifications
You must be signed in to change notification settings - Fork 1
67 lines (53 loc) · 1.66 KB
/
Copy pathtesting1087.yml
File metadata and controls
67 lines (53 loc) · 1.66 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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 OS prereqs
run: |
apt-get update
apt-get install -y --no-install-recommends \
ca-certificates curl git sudo \
libssl-dev libffi-dev zlib1g
- name: Fix pip cache permissions
run: sudo chown -R $(whoami) /github/home
- uses: actions/checkout@v6
- name: Setup Python 3.11
uses: gowridurgad/setup-python@testing-1087
with:
python-version: "3.11"
- name: Show cache layout after job 1
run: ls -la /__w/_tool/Python/
- name: Upgrade pip
run: python -m pip install --upgrade pip
ubuntu-24-second:
name: Step 2 - Ubuntu 24.04 container
needs: ubuntu-20-first
runs-on: self-hosted
container:
image: ubuntu:24.04
steps:
- name: Install OS prereqs
run: |
apt-get update
apt-get install -y --no-install-recommends \
ca-certificates curl git sudo \
libssl-dev libffi-dev zlib1g
- name: Fix pip cache permissions
run: sudo chown -R $(whoami) /github/home
- uses: actions/checkout@v6
- name: Show cache layout BEFORE job 2
run: ls -la /__w/_tool/Python/
- name: Setup Python 3.11
uses: gowridurgad/setup-python@testing-1087
with:
python-version: "3.11"
- name: Show cache layout AFTER job 2
run: ls -la /__w/_tool/Python/
- name: Upgrade pip
run: python -m pip install --upgrade pip