Skip to content

Finalise changes for release (no really) #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions .github/workflows/release-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: release-deploy
on:
release:
types: [ published ]
push:
branches: [ main ]
pull_request:
# push:
# branches: [ main ]
# pull_request:

jobs:
build-sdist:
Expand Down Expand Up @@ -233,22 +233,22 @@ jobs:
# The pypi upload fails with non-linux containers, so grab the uploaded
# artifacts and run using those
# See: https://github.com/pypa/gh-action-pypi-publish/discussions/15
# deploy:
# name: Upload wheels to PyPI
# needs: [ test-package ]
# runs-on: ubuntu-latest
# environment:
# name: pypi
# url: https://pypi.org/project/pylibjpeg-rle/
# permissions:
# id-token: write
#
# steps:
# - name: Download the wheels
# uses: actions/download-artifact@v4
# with:
# path: dist/
# merge-multiple: true
#
# - name: Publish package to PyPi
# uses: pypa/gh-action-pypi-publish@release/v1
deploy:
name: Upload wheels to PyPI
needs: [ test-package ]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/pylibjpeg-rle/
permissions:
id-token: write

steps:
- name: Download the wheels
uses: actions/download-artifact@v4
with:
path: dist/
merge-multiple: true

- name: Publish package to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
Loading