37
37
mkdir -p dist/
38
38
echo "${VERSION}" > dist/VERSION
39
39
40
- - uses : actions/upload-artifact@v2
40
+ - uses : actions/upload-artifact@v3
41
41
with :
42
42
name : dist
43
43
path : dist/
50
50
PIP_DISABLE_PIP_VERSION_CHECK : 1
51
51
52
52
steps :
53
- - uses : actions/checkout@v2
53
+ - uses : actions/checkout@v3
54
54
with :
55
55
fetch-depth : 50
56
56
submodules : true
63
63
pip install -U setuptools wheel pip
64
64
python setup.py sdist
65
65
66
- - uses : actions/upload-artifact@v2
66
+ - uses : actions/upload-artifact@v3
67
67
with :
68
68
name : dist
69
69
path : dist/*.tar.*
74
74
outputs :
75
75
include : ${{ steps.set-matrix.outputs.include }}
76
76
steps :
77
- - uses : actions/checkout@v2
77
+ - uses : actions/checkout@v3
78
78
- uses : actions/setup-python@v4
79
79
- run : pip install cibuildwheel==2.10.2
80
80
- id : set-matrix
86
86
&& cibuildwheel --print-build-identifiers --platform windows --arch x86,AMD64 | grep cp | jq -Rc '{"only": inputs, "os": "windows-latest"}'
87
87
} | jq -sc
88
88
)
89
- echo ::set-output name=include::" $MATRIX_INCLUDE"
89
+ echo "include= $MATRIX_INCLUDE" >> $GITHUB_OUTPUT
90
90
91
91
build-wheels :
92
92
needs : build-wheels-matrix
@@ -106,11 +106,11 @@ jobs:
106
106
PIP_DISABLE_PIP_VERSION_CHECK : 1
107
107
108
108
steps :
109
- - uses : actions/checkout@v2
109
+ - uses : actions/checkout@v3
110
110
with :
111
111
fetch-depth : 50
112
112
submodules : true
113
-
113
+
114
114
- name : Set up QEMU
115
115
if : runner.os == 'Linux'
116
116
uses : docker/setup-qemu-action@v2
@@ -123,7 +123,7 @@ jobs:
123
123
CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
124
124
CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
125
125
126
- - uses : actions/upload-artifact@v2
126
+ - uses : actions/upload-artifact@v3
127
127
with :
128
128
name : dist
129
129
path : wheelhouse/*.whl
@@ -137,7 +137,7 @@ jobs:
137
137
138
138
steps :
139
139
- name : Checkout source
140
- uses : actions/checkout@v2
140
+ uses : actions/checkout@v3
141
141
with :
142
142
fetch-depth : 5
143
143
submodules : true
@@ -153,7 +153,7 @@ jobs:
153
153
make htmldocs
154
154
155
155
- name : Checkout gh-pages
156
- uses : actions/checkout@v2
156
+ uses : actions/checkout@v3
157
157
with :
158
158
fetch-depth : 5
159
159
ref : gh-pages
@@ -179,12 +179,12 @@ jobs:
179
179
runs-on : ubuntu-latest
180
180
181
181
steps :
182
- - uses : actions/checkout@v2
182
+ - uses : actions/checkout@v3
183
183
with :
184
184
fetch-depth : 5
185
185
submodules : false
186
186
187
- - uses : actions/download-artifact@v2
187
+ - uses : actions/download-artifact@v3
188
188
with :
189
189
name : dist
190
190
path : dist/
@@ -193,7 +193,7 @@ jobs:
193
193
id : relver
194
194
run : |
195
195
set -e
196
- echo ::set-output name= version:: $(cat dist/VERSION)
196
+ echo " version= $(cat dist/VERSION)" >> $GITHUB_OUTPUT
197
197
rm dist/VERSION
198
198
199
199
- name : Merge and tag the PR
@@ -219,7 +219,7 @@ jobs:
219
219
ls -al dist/
220
220
221
221
- name : Upload to PyPI
222
- uses : pypa/gh-action-pypi-publish@master
222
+ uses : pypa/gh-action-pypi-publish@release/v1
223
223
with :
224
224
user : __token__
225
225
password : ${{ secrets.PYPI_TOKEN }}
0 commit comments