Skip to content

v0.4.0

v0.4.0 #10

Workflow file for this run

name: Semantic Release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_ADMIN_TOKEN }}
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
id: release
with:
github_token: ${{ secrets.GH_ADMIN_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true'
- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/upload-to-gh-release@main
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GH_ADMIN_TOKEN }}