Skip to content

1.0.0b8

1.0.0b8 #16

Workflow file for this run

name: publish
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout github repo
uses: actions/checkout@v2
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install FFTW
run: |
sudo apt-get install libfftw3-dev
- name: Install poetry dependencies
run: |
poetry install
- name: Build and publish
run: |
poetry version $(git describe --tags --abbrev=0)
poetry build
poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}