Skip to content

Commit

Permalink
create pypi.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jieggii committed Aug 7, 2024
1 parent d26b83a commit 00bc4db
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Python Package

on:
push:
branches:
- main
tags:
- 'v*.*.*'

jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
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 00bc4db

Please sign in to comment.