Skip to content

Commit c0a4a7a

Browse files
committed
Update workflow
1 parent 7b4a7cd commit c0a4a7a

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/deploy.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ on:
77

88
jobs:
99
publish-library:
10+
name: Publish package to PyPI
1011
runs-on: ubuntu-latest
11-
environment: release
1212
permissions:
13+
contents: read
1314
id-token: write
1415

1516
steps:
@@ -21,13 +22,5 @@ jobs:
2122
python-version: "3.12"
2223
cache: true
2324

24-
- name: Install dependencies
25-
run: |
26-
pdm install
27-
28-
- name: Build package distributions
29-
run: |
30-
pdm build
31-
32-
- name: Publish package distributions to PyPI
33-
uses: pypa/gh-action-pypi-publish@release/v1
25+
- name: Publish to PyPI
26+
run: pdm publish

0 commit comments

Comments
 (0)