Skip to content

Commit 0fe3ca6

Browse files
committed
deployment to PyPI using the trusted publisher route
1 parent a3f3221 commit 0fe3ca6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/tag_to_publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ concurrency:
1111
jobs:
1212
release_to_pypi:
1313
name: cwl-utils release test
14-
1514
runs-on: ubuntu-24.04
16-
15+
environment: PyPI
16+
permissions:
17+
id-token: write
1718
steps:
1819
- uses: actions/checkout@v4
1920

@@ -46,6 +47,4 @@ jobs:
4647
- name: Publish package
4748
uses: pypa/gh-action-pypi-publish@release/v1
4849
with:
49-
user: __token__
50-
password: ${{ secrets.PYPI_API_TOKEN }}
51-
packages_dir: testenv2/src/cwl-utils/dist/
50+
packages-dir: testenv2/src/cwl-utils/dist/

0 commit comments

Comments
 (0)