Files
Crabstero/.gitea/workflows/cd.yml
T
LogalDeveloper 23172111e9
CI / Formatting (push) Successful in 26s
CI / Linting (push) Successful in 5s
CI / Tests (push) Successful in 7s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
Hardened Gitea Actions workflows and updated action pins.
2026-04-29 09:37:17 -04:00

34 lines
633 B
YAML

name: CD
on:
push:
tags: ["v*"]
permissions:
contents: read
# packages: write # not yet supported by Gitea
env:
UV_PYTHON_DOWNLOADS: never
jobs:
publish:
name: Publish
runs-on: logaldeveloper-archlinux
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Install dependencies
run: uv sync --locked
- name: Build package
run: uv build
- name: Publish package
run: uv publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}