Skip to content

- resolves pipline build #8

- resolves pipline build

- resolves pipline build #8

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install poetry -U
poetry install
# - name: Run tests
# run: poetry run pytest tests/
- name: Build package
if: startsWith(github.ref, 'refs/tags/v')
run: poetry build
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}