File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 90
90
GH_TOKEN : ${{ github.token }}
91
91
run : |
92
92
gh release upload "$RELEASE_ID" \
93
+ --repo ${{ github.repository }} \
93
94
dist/${{ needs.create_artifacts.outputs.sdist }} \
94
95
dist/${{ needs.create_artifacts.outputs.py3_wheel }} \
95
96
dist/${{ needs.create_artifacts.outputs.py2_wheel }}
@@ -137,6 +138,7 @@ jobs:
137
138
publish_release :
138
139
name : Publish Release
139
140
needs :
141
+ - create_release
140
142
- publish_to_pypi
141
143
- publish_docs
142
144
runs-on : ubuntu-24.04
@@ -145,6 +147,9 @@ jobs:
145
147
steps :
146
148
- name : Publish Release
147
149
env :
150
+ RELEASE_ID : ${{ needs.create_release.outputs.release_id }}
148
151
GH_TOKEN : ${{ github.token }}
149
152
run : |
150
- gh release edit ${{ inputs.version }} --draft=false
153
+ gh release edit "$RELEASE_ID" \
154
+ --repo ${{ github.repository }} \
155
+ --draft=false
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ jobs:
107
107
GH_TOKEN : ${{ github.token }}
108
108
run : |
109
109
gh release upload "$RELEASE_ID" \
110
+ --repo ${{ github.repository }} \
110
111
dist/${{ needs.create_artifacts.outputs.sdist }} \
111
112
dist/${{ needs.create_artifacts.outputs.py3_wheel }} \
112
113
dist/${{ needs.create_artifacts.outputs.py2_wheel }}
You can’t perform that action at this time.
0 commit comments