Skip to content

Commit fa58de6

Browse files
committed
Finalise
1 parent 4c0b823 commit fa58de6

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/release-wheels.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: release-deploy
33
on:
44
release:
55
types: [ published ]
6-
push:
7-
branches: [ main ]
8-
pull_request:
6+
# push:
7+
# branches: [ main ]
8+
# pull_request:
99

1010
jobs:
1111
build-sdist:
@@ -274,22 +274,22 @@ jobs:
274274
# The pypi upload fails with non-linux containers, so grab the uploaded
275275
# artifacts and run using those
276276
# 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

0 commit comments

Comments
 (0)