File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ jobs:
116116 permissions :
117117 contents : read
118118 issues : write
119+ id-token : write # Required for Trusted Publishing.
119120 steps :
120121 - uses : actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903
121122 with :
@@ -145,14 +146,10 @@ jobs:
145146 done
146147 env :
147148 APIX_BOT_GPG_PASSPHRASE : ${{ secrets.APIX_BOT_GPG_PASSPHRASE }}
148-
149149 - name : Upload to PyPI
150- env :
151- TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
152- TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
153- run : |
154- pip install twine
155- twine upload dist/python/*.whl dist/python/*.tar.gz
150+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
151+ with :
152+ packages-dir : dist/python/
156153 release_nuget :
157154 name : Publish to NuGet Gallery
158155 needs : release
You can’t perform that action at this time.
0 commit comments