We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 435b5dd commit 9994d5aCopy full SHA for 9994d5a
.github/workflows/ci.yml
@@ -43,6 +43,12 @@ jobs:
43
if: contains(github.ref, 'refs/tags/')
44
env:
45
GH_TOKEN: ${{ github.token }}
46
+ environment:
47
+ name: publish-to-pypi
48
+ url: https://pypi.org/p/uharfbuzz
49
+ permissions:
50
+ id-token: write # IMPORTANT: mandatory for trusted publishing
51
+
52
steps:
53
- uses: actions/checkout@v4
54
with:
@@ -100,9 +106,6 @@ jobs:
100
106
$notes \
101
107
$prerelease
102
108
- name: Build and publish
103
- env:
104
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
105
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
109
run: |
110
if [ "$IS_PRERELEASE" == true ]; then
111
echo "DEBUG: This is a pre-release"
0 commit comments