Skip to content

Commit 1b8d4e2

Browse files
committed
refactor: using now token authentification for pypi
1 parent 5157e3b commit 1b8d4e2

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/release_automation.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ jobs:
3333
needs:
3434
- build
3535
runs-on: ubuntu-latest
36-
environment:
37-
name: pypi
38-
url: https://pypi.org/p/modalities
39-
permissions:
40-
id-token: write # IMPORTANT: mandatory for trusted publishing
41-
4236
steps:
4337
- name: Download all the dists
4438
uses: actions/download-artifact@v4
@@ -47,6 +41,8 @@ jobs:
4741
path: dist/
4842
- name: Publish dist to PyPI
4943
uses: pypa/gh-action-pypi-publish@release/v1
44+
with:
45+
password: ${{ secrets.PYPI_RELEASE_TOKEN }}
5046

5147
github-release:
5248
name: >-

0 commit comments

Comments
 (0)