Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
estyxx committed May 20, 2024
1 parent 7b4a7cd commit c0a4a7a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ on:

jobs:
publish-library:
name: Publish package to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
contents: read
id-token: write

steps:
Expand All @@ -21,13 +22,5 @@ jobs:
python-version: "3.12"
cache: true

- name: Install dependencies
run: |
pdm install
- name: Build package distributions
run: |
pdm build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish to PyPI
run: pdm publish

0 comments on commit c0a4a7a

Please sign in to comment.