We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f0bab77 + c24d1e7 commit 2ff1fdbCopy full SHA for 2ff1fdb
1 file changed
.github/workflows/wheels.yml
@@ -54,6 +54,12 @@ jobs:
54
# ... and all build jobs completed successfully
55
needs: [build_wheels]
56
runs-on: ubuntu-latest
57
+ environment:
58
+ name: publish-to-pypi
59
+ url: https://pypi.org/p/openstep-plist
60
+ permissions:
61
+ id-token: write # IMPORTANT: mandatory for trusted publishing.
62
+
63
steps:
64
- uses: actions/checkout@v4
65
with:
@@ -101,9 +107,6 @@ jobs:
101
107
draft: false
102
108
prerelease: ${{ env.IS_PRERELEASE }}
103
109
- name: Build and publish
104
- env:
105
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
106
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
110
run: |
111
if [ "$IS_PRERELEASE" == true ]; then
112
echo "DEBUG: This is a pre-release"
0 commit comments