Skip to content

Commit ba8fb60

Browse files
committed
Re-order actions in github release
1 parent d542bf7 commit ba8fb60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,18 @@ jobs:
5858
./dist/*.tar.gz
5959
./dist/*.whl
6060
61+
- name: Upload artifact signatures to GitHub Release
62+
env:
63+
GITHUB_TOKEN: ${{ github.token }}
64+
run: >-
65+
gh release upload
66+
"${{ github.event.release.tag_name }}" ./dist/*
67+
--repo "$GITHUB_REPOSITORY"
68+
6169
- name: Remove Sigstore files
6270
run: rm -f dist/*.sig dist/*.crt dist/*.sigstore.json
6371

6472
- name: Publish Python 🐍 distribution 📦 to PyPI
6573
uses: pypa/gh-action-pypi-publish@release/v1
6674
with:
6775
packages-dir: "dist"
68-
69-
- name: Upload artifact signatures to GitHub Release
70-
env:
71-
GITHUB_TOKEN: ${{ github.token }}
72-
run: >-
73-
gh release upload
74-
"${{ github.event.release.tag_name }}" ./dist/*.sig ./dist/*.crt ./dist/*.sigstore.json
75-
--repo "$GITHUB_REPOSITORY"

0 commit comments

Comments
 (0)