Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devon-mar committed May 18, 2023
1 parent 603dd57 commit 42080dc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Release

"on":
release:
types:
- published

jobs:
pypi-publish:
runs-on: ubuntu-latest
permissions:
# https://docs.pypi.org/trusted-publishers/
id-token: write
steps:
- uses: actions/checkout@v3

- name: Install poetry
run: pipx install poetry

- run: poetry build

# https://docs.pypi.org/trusted-publishers/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 42080dc

Please sign in to comment.