We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7523062 commit 93ce40eCopy full SHA for 93ce40e
1 file changed
.github/workflows/publish-to-pypi.yml
@@ -7,6 +7,9 @@ jobs:
7
build-n-publish:
8
name: Build and publish optimagic Python 🐍 distributions 📦 to PyPI
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ id-token: write
13
steps:
14
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
15
with:
@@ -31,5 +34,3 @@ jobs:
31
34
- name: Publish distribution 📦 to PyPI
32
35
if: startsWith(github.ref, 'refs/tags')
33
36
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
- with:
- password: ${{ secrets.PYPI_API_TOKEN_OPTIMAGIC }}
0 commit comments