Skip to content

Commit cc8a00e

Browse files
committed
debug
1 parent f27fb51 commit cc8a00e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
GH_TOKEN: ${{ github.token }}
9191
run: |
9292
gh release upload "$RELEASE_ID" \
93+
--repo ${{ github.repository }} \
9394
dist/${{ needs.create_artifacts.outputs.sdist }} \
9495
dist/${{ needs.create_artifacts.outputs.py3_wheel }} \
9596
dist/${{ needs.create_artifacts.outputs.py2_wheel }}
@@ -137,6 +138,7 @@ jobs:
137138
publish_release:
138139
name: Publish Release
139140
needs:
141+
- create_release
140142
- publish_to_pypi
141143
- publish_docs
142144
runs-on: ubuntu-24.04
@@ -145,6 +147,9 @@ jobs:
145147
steps:
146148
- name: Publish Release
147149
env:
150+
RELEASE_ID: ${{ needs.create_release.outputs.release_id }}
148151
GH_TOKEN: ${{ github.token }}
149152
run: |
150-
gh release edit ${{ inputs.version }} --draft=false
153+
gh release edit "$RELEASE_ID" \
154+
--repo ${{ github.repository }} \
155+
--draft=false

.github/workflows/release_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
GH_TOKEN: ${{ github.token }}
108108
run: |
109109
gh release upload "$RELEASE_ID" \
110+
--repo ${{ github.repository }} \
110111
dist/${{ needs.create_artifacts.outputs.sdist }} \
111112
dist/${{ needs.create_artifacts.outputs.py3_wheel }} \
112113
dist/${{ needs.create_artifacts.outputs.py2_wheel }}

0 commit comments

Comments
 (0)