Skip to content

Commit 98f8f0c

Browse files
authored
Merge pull request #401 from consideRatio/pr/cleanup-checksum
ci: cleanup stashed SHA256 checksum before publish to PyPI
2 parents 230188c + 1bd3274 commit 98f8f0c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: .github/workflows/publish.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ jobs:
9898
name: dist
9999
path: dist
100100

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

0 commit comments

Comments
 (0)