37
37
mkdir -p dist/
38
38
echo "${VERSION}" > dist/VERSION
39
39
40
- - uses : actions/upload-artifact@v1
40
+ - uses : actions/upload-artifact@v2
41
41
with :
42
42
name : dist
43
43
path : dist/
@@ -46,23 +46,24 @@ jobs:
46
46
needs : validate-release-request
47
47
runs-on : ubuntu-latest
48
48
49
+ env :
50
+ PIP_DISABLE_PIP_VERSION_CHECK : 1
51
+
49
52
steps :
50
- - uses : actions/checkout@v1
53
+ - uses : actions/checkout@v2
51
54
with :
52
55
fetch-depth : 50
53
56
submodules : true
54
57
55
- - name : Set up Python 3.7
56
- uses : actions/setup-python@v1
57
- with :
58
- python-version : 3.7
58
+ - name : Set up Python
59
+ uses : actions/setup-python@v2
59
60
60
61
- name : Build source distribution
61
62
run : |
62
63
pip install -U setuptools wheel pip
63
64
python setup.py sdist
64
65
65
- - uses : actions/upload-artifact@v1
66
+ - uses : actions/upload-artifact@v2
66
67
with :
67
68
name : dist
68
69
path : dist/
72
73
runs-on : ${{ matrix.os }}
73
74
strategy :
74
75
matrix :
75
- python-version : [3.6, 3.7, 3.8, 3.9]
76
- os : [ubuntu-20.04 , macos-latest, windows-latest]
76
+ python-version : [3.6, 3.7, 3.8, 3.9, 3.10.0.rc.1 ]
77
+ os : [ubuntu-latest , macos-latest, windows-latest]
77
78
arch : [x86_64]
78
79
exclude :
79
80
- os : windows-latest
85
86
run :
86
87
shell : bash
87
88
89
+ env :
90
+ PIP_DISABLE_PIP_VERSION_CHECK : 1
91
+
88
92
steps :
89
- - uses : actions/checkout@v1
93
+ - uses : actions/checkout@v2
90
94
with :
91
95
fetch-depth : 50
92
96
submodules : true
96
100
uses : docker/setup-qemu-action@v1
97
101
98
102
- name : Set up Python ${{ matrix.python-version }}
99
- uses : actions/setup-python@v1
103
+ uses : actions/setup-python@v2
100
104
with :
101
105
python-version : ${{ matrix.python-version }}
102
106
@@ -202,7 +206,7 @@ jobs:
202
206
&& su -l test /github/workspace/.github/workflows/test-wheels.sh \
203
207
'
204
208
205
- - uses : actions/upload-artifact@v1
209
+ - uses : actions/upload-artifact@v2
206
210
with :
207
211
name : dist
208
212
path : dist/
@@ -211,6 +215,9 @@ jobs:
211
215
needs : validate-release-request
212
216
runs-on : ubuntu-latest
213
217
218
+ env :
219
+ PIP_DISABLE_PIP_VERSION_CHECK : 1
220
+
214
221
steps :
215
222
- name : Checkout source
216
223
uses : actions/checkout@v2
@@ -255,12 +262,12 @@ jobs:
255
262
runs-on : ubuntu-latest
256
263
257
264
steps :
258
- - uses : actions/checkout@v1
265
+ - uses : actions/checkout@v2
259
266
with :
260
267
fetch-depth : 5
261
268
submodules : false
262
269
263
- - uses : actions/download-artifact@v1
270
+ - uses : actions/download-artifact@v2
264
271
with :
265
272
name : dist
266
273
path : dist/
0 commit comments