Skip to content

Commit

Permalink
add GitHub Actions for uploading package to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt committed Nov 21, 2024
1 parent 9d42a68 commit d14cbc1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
push:
tags:
- 'v*'
jobs:
publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
contents: read
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 d14cbc1

Please sign in to comment.