File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -208,11 +208,14 @@ jobs:
208
208
bodyFile : release-notes.md
209
209
prerelease : ${{ needs.build.outputs.prerelease }}
210
210
token : ${{ secrets.GITHUB_TOKEN }}
211
+ allowUpdates : true
212
+ draft : true
213
+ skipIfReleaseExists : true
211
214
212
215
publish-test-pypi :
213
216
name : Publish packages to test.pypi.org
214
217
if : github.event_name == 'push' && github.ref == 'refs/heads/main'
215
- needs : [build, lint, check]
218
+ needs : [build, lint, check, create-github-release ]
216
219
runs-on : ubuntu-latest
217
220
permissions :
218
221
id-token : write
@@ -231,7 +234,7 @@ jobs:
231
234
name : Publish packages to pypi.org
232
235
environment : release
233
236
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
234
- needs : [build, lint, check]
237
+ needs : [build, lint, check, create-github-release ]
235
238
runs-on : ubuntu-latest
236
239
permissions :
237
240
id-token : write
You can’t perform that action at this time.
0 commit comments