Skip to content

Commit d0e6a72

Browse files
committed
chore(cicd): do not upload SHA256SUMS to PyPI
1 parent dfa0adb commit d0e6a72

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ jobs:
2929

3030
- name: Generate SHA256 checksums
3131
run: |
32-
cd dist
33-
sha256sum * > SHA256SUMS
32+
cd dist && sha256sum * > ../SHA256SUMS
3433
echo "### SHA256 Checksums"
35-
cat SHA256SUMS
34+
cat ../SHA256SUMS
3635
3736
- name: "Upload dists"
3837
uses: "actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f" # v7.0.0
@@ -42,6 +41,14 @@ jobs:
4241
if-no-files-found: error
4342
retention-days: 5
4443

44+
- name: "Upload SHA256SUMS"
45+
uses: "actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f" # v7.0.0
46+
with:
47+
name: "SHA256SUMS"
48+
path: "SHA256SUMS"
49+
if-no-files-found: error
50+
retention-days: 5
51+
4552
publish:
4653
runs-on: ubuntu-latest
4754
needs: build

0 commit comments

Comments
 (0)