File tree 1 file changed +22
-22
lines changed
1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: release-deploy
3
3
on :
4
4
release :
5
5
types : [ published ]
6
- push :
7
- branches : [ main ]
8
- pull_request :
6
+ # push:
7
+ # branches: [ main ]
8
+ # pull_request:
9
9
10
10
jobs :
11
11
build-sdist :
@@ -274,22 +274,22 @@ jobs:
274
274
# The pypi upload fails with non-linux containers, so grab the uploaded
275
275
# artifacts and run using those
276
276
# See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
277
- # deploy:
278
- # name: Upload wheels to PyPI
279
- # needs: [ test-package ]
280
- # runs-on: ubuntu-latest
281
- # environment:
282
- # name: pypi
283
- # url: https://pypi.org/project/pylibjpeg-libjpeg/
284
- # permissions:
285
- # id-token: write
286
- #
287
- # steps:
288
- # - name: Download the wheels
289
- # uses: actions/download-artifact@v4
290
- # with:
291
- # path: dist/
292
- # merge-multiple: true
293
- #
294
- # - name: Publish package to PyPi
295
- # uses: pypa/gh-action-pypi-publish@release/v1
277
+ deploy :
278
+ name : Upload wheels to PyPI
279
+ needs : [ test-package ]
280
+ runs-on : ubuntu-latest
281
+ environment :
282
+ name : pypi
283
+ url : https://pypi.org/project/pylibjpeg-libjpeg/
284
+ permissions :
285
+ id-token : write
286
+
287
+ steps :
288
+ - name : Download the wheels
289
+ uses : actions/download-artifact@v4
290
+ with :
291
+ path : dist/
292
+ merge-multiple : true
293
+
294
+ - name : Publish package to PyPi
295
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments