Skip to content

Commit

Permalink
Update and rename python-publish.yml to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
porplax authored Apr 8, 2024
1 parent a6f84f4 commit 3216834
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/python-publish.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
jobs:
pypi-publish:
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@v3

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

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

0 comments on commit 3216834

Please sign in to comment.