Skip to content

Commit

Permalink
ci: fix release workflow (#9387)
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering authored May 6, 2024
1 parent 43dd8cc commit f5777bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,17 @@ jobs:
contents: write
needs: build
steps:
# We need to be in a git repo for gh to work.
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: distfiles
path: dist/

- run: gh release upload ${{ github.event.release.tag_name }} dist/*.{tar.gz,whl}
env:
GH_TOKEN: ${{ github.token }}

upload-pypi:
name: Upload (PyPI)
Expand All @@ -45,6 +51,7 @@ jobs:
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: distfiles
path: dist/

- uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
with:
Expand Down

0 comments on commit f5777bb

Please sign in to comment.