Skip to content

Commit bf8324a

Browse files
authored
Merge pull request #10 from ctdunc/main
test trusted publisher
2 parents f5ff4f6 + e2c935a commit bf8324a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,15 @@ jobs:
114114
runs-on: ubuntu-latest
115115
if: "startsWith(github.ref, 'refs/tags/')"
116116
needs: [linux, windows, macos, sdist]
117+
permissions:
118+
id-token: write
119+
environment: release
117120
steps:
118121
- uses: actions/download-artifact@v3
119122
with:
120123
name: wheels
121124
- name: Publish to PyPI
122125
uses: PyO3/maturin-action@v1
123-
env:
124-
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
125126
with:
126127
command: upload
127128
args: --non-interactive --skip-existing *

0 commit comments

Comments
 (0)