Skip to content

Commit

Permalink
workflows/release: sign after publishing
Browse files Browse the repository at this point in the history
...to avoid trying to upload signing artifacts to PyPI.

Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Oct 17, 2022
1 parent ca03f9f commit a565db0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
- name: build
run: python -m build

- name: sign
uses: sigstore/[email protected]
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true

- name: publish
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: sign
uses: sigstore/[email protected]
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true

0 comments on commit a565db0

Please sign in to comment.