Skip to content

Merge pull request #11 from nederlandsespoorwegen/bump/versions #13

Merge pull request #11 from nederlandsespoorwegen/bump/versions

Merge pull request #11 from nederlandsespoorwegen/bump/versions #13

Workflow file for this run

name: Build and release on tag
on:
push:
tags:
- "*"
jobs:
build:
name: Build distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: Gr1N/setup-poetry@v9
with:
poetry-version: "1.7.1"
- run: poetry install
- run: poetry build --format wheel
- uses: ncipollo/release-action@v1
with:
artifacts: "dist/*"
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}