Merge pull request #672 from malariagen/GH671_fix_test_plot_frequenci… #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry==1.8.3 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'poetry' | |
- name: Configure poetry | |
run: | | |
poetry self add "poetry-dynamic-versioning[plugin]" | |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} | |
- name: Build package | |
run: poetry build | |
- name: Publish to PyPI | |
run: poetry publish |