Skip to content

Commit

Permalink
Github python release workflow (#95)
Browse files Browse the repository at this point in the history
* publish workflow

* update workflow name
  • Loading branch information
NRHelmi authored Aug 10, 2022
1 parent 72009cb commit 5700c02
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: release/publish

on:
release:
types: [created]

jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 5700c02

Please sign in to comment.