Skip to content

Commit 3d166e8

Browse files
Combine "create" and "upload" steps.
1 parent 1a34bff commit 3d166e8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,4 @@ jobs:
6161
env:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363
RELEASE_NAME: ${{ github.ref_name }}
64-
run: gh release create $RELEASE_NAME --repo $GITHUB_REPO --generate-notes
65-
66-
- name: Upload GitHub Release
67-
env:
68-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69-
RELEASE_NAME: ${{ github.ref_name }}
70-
run: gh release upload $RELEASE_NAME dist/** --repo $GITHUB_REPO
64+
run: gh release create $RELEASE_NAME dist/** --repo $GITHUB_REPO --generate-notes

0 commit comments

Comments
 (0)