File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed
Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ name: Build wheels
77
88on :
99 push :
10- # tags:
11- # - "py-v*"
12- # workflow_dispatch:
10+ tags :
11+ - " py-v*"
12+ workflow_dispatch :
1313
1414permissions :
1515 contents : read
@@ -184,28 +184,28 @@ jobs:
184184 # name: wheels-sdist
185185 # path: dist
186186
187- # release:
188- # runs-on: ubuntu-latest
189- # name: Release
190- # # environment:
191- # # name: release
192- # # url: https://pypi.org/p/async-tiff
193- # # permissions:
194- # # # IMPORTANT: this permission is mandatory for trusted publishing
195- # # id-token: write
196- # if: startsWith(github.ref, 'refs/tags/')
197- # needs: [linux, musllinux, windows, macos]
198- # steps:
199- # - uses: actions/download-artifact@v4
200- # with:
201- # pattern: wheels-*
202- # merge-multiple: true
203- # path: dist
204- # - uses: actions/setup-python@v5
205- # with:
206- # python-version: 3.9
187+ release :
188+ runs-on : ubuntu-latest
189+ name : Release
190+ # environment:
191+ # name: release
192+ # url: https://pypi.org/p/async-tiff
193+ # permissions:
194+ # # IMPORTANT: this permission is mandatory for trusted publishing
195+ # id-token: write
196+ if : startsWith(github.ref, 'refs/tags/')
197+ needs : [linux, musllinux, windows, macos]
198+ steps :
199+ - uses : actions/download-artifact@v4
200+ with :
201+ pattern : wheels-*
202+ merge-multiple : true
203+ path : dist
204+ - uses : actions/setup-python@v5
205+ with :
206+ python-version : 3.9
207207
208- # - uses: pypa/gh-action-pypi-publish@release/v1
209- # with:
210- # user: __token__
211- # password: ${{ secrets.PYPI_API_TOKEN }}
208+ - uses : pypa/gh-action-pypi-publish@release/v1
209+ with :
210+ user : __token__
211+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments