Skip to content

Commit

Permalink
Merge pull request #59 from rki-mf1/feature/releases-to-pypi
Browse files Browse the repository at this point in the history
Releases to PyPI
  • Loading branch information
silenus092 authored Jul 4, 2022
2 parents 2b55c5e + bdec5dd commit c218093
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release
on:
release:
types: [published]
tags-ignore:
- '!v2.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
architecture: x64
- run: pip install nox==2022.1.7
- run: pip install poetry==1.1.13
- run: nox
- run: poetry build
- run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}

0 comments on commit c218093

Please sign in to comment.