@@ -31,18 +31,13 @@ jobs:
31
31
# 3.5, 3.6 and presumably 2.7 are not available in it.
32
32
os : [ubuntu-20.04, macos-latest]
33
33
steps :
34
- - uses : actions/checkout@v2
34
+ - uses : actions/checkout@v3
35
35
- name : Set up Python
36
- uses : actions/setup-python@v2
36
+ uses : actions/setup-python@v4
37
37
with :
38
38
python-version : ${{ matrix.python-version }}
39
- - name : Pip cache
40
- uses : actions/cache@v2
41
- with :
42
- path : ~/.cache/pip
43
- key : ${{ runner.os }}-pip-${{ hashFiles('setup.*') }}
44
- restore-keys : |
45
- ${{ runner.os }}-pip-
39
+ cache : ' pip'
40
+ cache-dependency-path : setup.py
46
41
- name : Install dependencies
47
42
run : |
48
43
python -m pip install -U pip setuptools wheel
63
58
ls -l dist
64
59
twine check dist/*
65
60
- name : Store greenlet wheel
66
- uses : actions/upload-artifact@v2
61
+ uses : actions/upload-artifact@v3
67
62
with :
68
63
name : greenlet-${{ runner.os }}-${{ matrix.python-version }}.whl
69
64
path : dist/*whl
@@ -91,18 +86,13 @@ jobs:
91
86
python-version : [2.7, 3.5, "3.11"]
92
87
os : [ubuntu-20.04, macos-latest]
93
88
steps :
94
- - uses : actions/checkout@v2
89
+ - uses : actions/checkout@v3
95
90
- name : Set up Python
96
- uses : actions/setup-python@v2
91
+ uses : actions/setup-python@v4
97
92
with :
98
93
python-version : ${{ matrix.python-version }}
99
- - name : Pip cache
100
- uses : actions/cache@v2
101
- with :
102
- path : ~/.cache/pip
103
- key : ${{ runner.os }}-pip-ns-${{ hashFiles('setup.*') }}
104
- restore-keys : |
105
- ${{ runner.os }}-pip-ns-
94
+ cache : ' pip'
95
+ cache-dependency-path : setup.py
106
96
- name : Install dependencies
107
97
run : |
108
98
python -m pip install -U pip setuptools wheel
@@ -124,18 +114,13 @@ jobs:
124
114
# required for all workflows
125
115
security-events : write
126
116
steps :
127
- - uses : actions/checkout@v2
117
+ - uses : actions/checkout@v3
128
118
- name : Set up Python
129
- uses : actions/setup-python@v2
119
+ uses : actions/setup-python@v4
130
120
with :
131
121
python-version : " 3.10"
132
- - name : Pip cache
133
- uses : actions/cache@v2
134
- with :
135
- path : ~/.cache/pip
136
- key : ${{ runner.os }}-pip-ql-${{ hashFiles('setup.*') }}
137
- restore-keys : |
138
- ${{ runner.os }}-pip-ql-
122
+ cache : ' pip'
123
+ cache-dependency-path : setup.py
139
124
- name : Install dependencies
140
125
run : |
141
126
python -m pip install -U pip
@@ -177,12 +162,11 @@ jobs:
177
162
178
163
steps :
179
164
- name : checkout
180
- uses : actions/checkout@v2
165
+ uses : actions/checkout@v3
181
166
- name : Set up Python ${{ matrix.python-version }}
182
- uses : actions/setup-python@v2
167
+ uses : actions/setup-python@v4
183
168
with :
184
169
python-version : ${{ matrix.python-version }}
185
-
186
170
- name : Enable emulation
187
171
run : |
188
172
docker run --rm --privileged hypriot/qemu-register
@@ -206,7 +190,7 @@ jobs:
206
190
DOCKER_IMAGE : quay.io/pypa/${{ matrix.image }}
207
191
run : bash ./make-manylinux
208
192
- name : Store greenlet wheels
209
- uses : actions/upload-artifact@v2
193
+ uses : actions/upload-artifact@v3
210
194
with :
211
195
path : wheelhouse/*whl
212
196
name : ${{ matrix.image }}_wheels.zip
0 commit comments