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 2eb7786 commit 7b4a7cd
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish-library:
runs-on: ubuntu-latest

environment: release
permissions:
id-token: write

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

- name: Ensure lock file is up to date
run: |
pdm lock --check
- name: Install dependencies
run: |
pdm sync -d
pdm install
- name: Build package
run: pdm build
- name: Build package distributions
run: |
pdm build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 7b4a7cd

Please sign in to comment.