3737 mkdir -p dist/
3838 echo "${VERSION}" > dist/VERSION
3939
40- - uses : actions/upload-artifact@v2
40+ - uses : actions/upload-artifact@v3
4141 with :
4242 name : dist
4343 path : dist/
5050 PIP_DISABLE_PIP_VERSION_CHECK : 1
5151
5252 steps :
53- - uses : actions/checkout@v2
53+ - uses : actions/checkout@v3
5454 with :
5555 fetch-depth : 50
5656 submodules : true
6363 pip install -U setuptools wheel pip
6464 python setup.py sdist
6565
66- - uses : actions/upload-artifact@v2
66+ - uses : actions/upload-artifact@v3
6767 with :
6868 name : dist
6969 path : dist/*.tar.*
7474 outputs :
7575 include : ${{ steps.set-matrix.outputs.include }}
7676 steps :
77- - uses : actions/checkout@v2
77+ - uses : actions/checkout@v3
7878 - uses : actions/setup-python@v4
7979 - run : pip install cibuildwheel==2.10.2
8080 - id : set-matrix
8686 && cibuildwheel --print-build-identifiers --platform windows --arch x86,AMD64 | grep cp | jq -Rc '{"only": inputs, "os": "windows-latest"}'
8787 } | jq -sc
8888 )
89- echo ::set-output name=include::" $MATRIX_INCLUDE"
89+ echo "include= $MATRIX_INCLUDE" >> $GITHUB_OUTPUT
9090
9191 build-wheels :
9292 needs : build-wheels-matrix
@@ -106,11 +106,11 @@ jobs:
106106 PIP_DISABLE_PIP_VERSION_CHECK : 1
107107
108108 steps :
109- - uses : actions/checkout@v2
109+ - uses : actions/checkout@v3
110110 with :
111111 fetch-depth : 50
112112 submodules : true
113-
113+
114114 - name : Set up QEMU
115115 if : runner.os == 'Linux'
116116 uses : docker/setup-qemu-action@v2
@@ -123,7 +123,7 @@ jobs:
123123 CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
124124 CIBW_MANYLINUX_AARCH64_IMAGE : manylinux_2_28
125125
126- - uses : actions/upload-artifact@v2
126+ - uses : actions/upload-artifact@v3
127127 with :
128128 name : dist
129129 path : wheelhouse/*.whl
@@ -137,7 +137,7 @@ jobs:
137137
138138 steps :
139139 - name : Checkout source
140- uses : actions/checkout@v2
140+ uses : actions/checkout@v3
141141 with :
142142 fetch-depth : 5
143143 submodules : true
@@ -153,7 +153,7 @@ jobs:
153153 make htmldocs
154154
155155 - name : Checkout gh-pages
156- uses : actions/checkout@v2
156+ uses : actions/checkout@v3
157157 with :
158158 fetch-depth : 5
159159 ref : gh-pages
@@ -179,12 +179,12 @@ jobs:
179179 runs-on : ubuntu-latest
180180
181181 steps :
182- - uses : actions/checkout@v2
182+ - uses : actions/checkout@v3
183183 with :
184184 fetch-depth : 5
185185 submodules : false
186186
187- - uses : actions/download-artifact@v2
187+ - uses : actions/download-artifact@v3
188188 with :
189189 name : dist
190190 path : dist/
@@ -193,7 +193,7 @@ jobs:
193193 id : relver
194194 run : |
195195 set -e
196- echo ::set-output name= version:: $(cat dist/VERSION)
196+ echo " version= $(cat dist/VERSION)" >> $GITHUB_OUTPUT
197197 rm dist/VERSION
198198
199199 - name : Merge and tag the PR
@@ -219,7 +219,7 @@ jobs:
219219 ls -al dist/
220220
221221 - name : Upload to PyPI
222- uses : pypa/gh-action-pypi-publish@master
222+ uses : pypa/gh-action-pypi-publish@release/v1
223223 with :
224224 user : __token__
225225 password : ${{ secrets.PYPI_TOKEN }}
0 commit comments