krayt/.github/workflows/release-pypi.yaml
Waylon S. Walker 17c088526b release 0.4.0
2025-04-23 19:56:26 -05:00

35 lines
879 B
YAML

name: Release Krayt
on:
workflow_dispatch:
push:
paths:
- "krayt/**"
- "pyproject.toml"
permissions:
contents: write
pull-requests: write
issues: read
packages: none
id-token: write
jobs:
release-krayt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: waylonwalker/hatch-action@v4
with:
before-command: "lint-format"
env:
# required for gh release
GH_TOKEN: ${{ github.token }}
- name: Install just
run: |
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to DEST
shell: bash
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/0.6.16/install.sh | sh
shell: bash
- name: GitHub Release (just release)
run: just create-release
shell: bash