Skip to content

Release

Release #11

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: Build package
run: poetry build
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/pieces
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}