Skip to content

Merge pull request #150 from mkudlej/fix_gh_release_action #23

Merge pull request #150 from mkudlej/fix_gh_release_action

Merge pull request #150 from mkudlej/fix_gh_release_action #23

Workflow file for this run

name: release
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: setup
run: pip install wheel
- name: build
run: python setup.py --release-version ${GITHUB_REF#refs/tags/v} sdist bdist_wheel
- name: release
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}