We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37492bc commit 4a7a286Copy full SHA for 4a7a286
1 file changed
.github/workflows/release.yml
@@ -15,6 +15,11 @@ jobs:
15
name: Publish koopmans
16
runs-on: ubuntu-latest
17
if: github.repository == 'epfl-theos/koopmans' && startsWith(github.ref, 'refs/tags/v')
18
+ environment:
19
+ name: pypi
20
+ url: https://pypi.org/p/koopmans
21
+ permissions:
22
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
23
24
steps:
25
- name: Checkout repository
@@ -36,6 +41,3 @@ jobs:
36
41
37
42
- name: Publish package to PyPI
38
43
uses: pypa/gh-action-pypi-publish@release/v1
39
- with:
40
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments