Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Publish release

Publish release #15

Workflow file for this run

name: Publish release
on:
workflow_dispatch
jobs:
rel_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- uses: Gr1N/setup-poetry@v8
- uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- run: |
poetry self add poetry-version-plugin
- uses: bahmutov/npm-install@v1
- run: npx semantic-release
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}