Skip to content

Commit

Permalink
deployment to PyPI using the trusted publisher route
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Dec 9, 2024
1 parent a3f3221 commit 0fe3ca6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tag_to_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ concurrency:
jobs:
release_to_pypi:
name: cwl-utils release test

runs-on: ubuntu-24.04

environment: PyPI
permissions:
id-token: write
steps:
- uses: actions/checkout@v4

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

0 comments on commit 0fe3ca6

Please sign in to comment.