Skip to content

Release

Release #8

Workflow file for this run

name: Release
on:
workflow_dispatch:
env:
VENV: .venv
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Environment
uses: ./.github/actions/setup-env
- name: Install project dependencies
run: . script/bootstrap
- name: Release
uses: cycjimmy/semantic-release-action@v4.1.1
with:
branch: main
dry_run: false
extra_plugins: |
@semantic-release/changelog
@semantic-release/exec
@semantic-release/git
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PUBLISH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_PAT }}