Skip to content

chore: setup release workflow (#4) #11

chore: setup release workflow (#4)

chore: setup release workflow (#4) #11

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
steps:
- name: 📥 checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: ⚡️ setup uv
uses: astral-sh/setup-uv@v2
with:
version: "latest"
enable-cache: true
cache-suffix: 2024-09-08 09:10
cache-dependency-glob: |
pyproject.toml
uv.lock
- name: 📜 semantic release
run: uv run semantic-release --noop --strict version
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}