Skip to content

Commit

Permalink
ci: add pypi release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Jun 1, 2024
1 parent 30ee26a commit 6d5a940
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: release

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.x

- run: pipx run build

- run: pipx run twine upload dist/* --disable-progress-bar
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 6d5a940

Please sign in to comment.