File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 65
65
66
66
publish :
67
67
needs : [build-dist, static-scan]
68
+ name : Upload release to PyPI
69
+ runs-on : ubuntu-latest
70
+ environment : release
71
+ permissions :
72
+ id-token : write
73
+ steps :
74
+ - name : Download all the dists
75
+ uses : actions/download-artifact@v4
76
+ with :
77
+ name : all-dist-${{ github.run_id }}
78
+ path : dist/
79
+ - name : Publish package distributions to PyPI
80
+ if : startsWith(inputs.dry_run, 'false')
81
+ uses : pypa/gh-action-pypi-publish@release/v1
82
+
83
+ post-publish :
84
+ needs : [publish]
68
85
runs-on : ubuntu-latest
69
86
environment : release
70
87
permissions :
91
108
silk_asset_group : ${{ env.SILK_ASSET_GROUP }}
92
109
evergreen_project : ${{ env.EVERGREEN_PROJECT }}
93
110
token : ${{ github.token }}
94
- repository_url : https://test.pypi.org/legacy/
95
111
dry_run : ${{ inputs.dry_run }}
You can’t perform that action at this time.
0 commit comments