Skip to content

Commit

Permalink
chore: Update python-package.yml
Browse files Browse the repository at this point in the history
Publish release 1.0.1
  • Loading branch information
pbrod authored Oct 3, 2024
1 parent 93cc3cb commit 3870773
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,20 @@ jobs:
- name: Run Tests
run: |
pdm run pytest
pypi-publish:
needs: ci
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# This permission is needed for private repositories.
contents: read
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4

- uses: pdm-project/setup-pdm@v4

- name: Publish package distributions to PyPI
run: pdm publish

0 comments on commit 3870773

Please sign in to comment.