Skip to content

Commit

Permalink
Merge pull request #401 from consideRatio/pr/cleanup-checksum
Browse files Browse the repository at this point in the history
ci: cleanup stashed SHA256 checksum before publish to PyPI
  • Loading branch information
consideRatio authored Apr 28, 2023
2 parents 230188c + 1bd3274 commit 98f8f0c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ jobs:
name: dist
path: dist

# The PyPI publishing action will try to publish this checksum file as if
# it was a Python package if it remains in dist, so we clean it up first.
- name: Cleanup SHA256SUMS
run: |
cat dist/SHA256SUMS
rm dist/SHA256SUMS
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
Expand Down

0 comments on commit 98f8f0c

Please sign in to comment.