Skip to content

fix: sync version to 0.0.1 and fix release workflow #25

fix: sync version to 0.0.1 and fix release workflow

fix: sync version to 0.0.1 and fix release workflow #25

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
ci:
uses: ./.github/workflows/ci.yml
release:
needs: ci
runs-on: ubuntu-latest
concurrency: release
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- uses: python-semantic-release/python-semantic-release@v9
id: release
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
git_committer_name: "github-actions[bot]"
git_committer_email: "github-actions[bot]@users.noreply.github.com"
- uses: python-semantic-release/publish-action@v9
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}