Skip to content

docs: add MIT license #2

docs: add MIT license

docs: add MIT license #2

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write
id-token: write
jobs:
ci:
name: CI checks
uses: ./.github/workflows/ci.yml
release:
name: Semantic Release
needs: ci
runs-on: ubuntu-latest
if: github.repository_owner == 'sebtardif'
concurrency:
group: release
cancel-in-progress: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v9
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to GitHub Releases
if: steps.release.outputs.released == 'true'
uses: python-semantic-release/publish-action@v9
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build package
if: steps.release.outputs.released == 'true'
run: pip install build && python -m build
- name: Publish to PyPI
if: steps.release.outputs.released == 'true'
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true