name: Release
on:
workflow_dispatch:
inputs:
version:
description: "Version to release, e.g. 1.2.3 (currently ignored)"
required: true
type: string
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
- name: Verify package
run: cargo publish --dry-run --locked
- name: Commit version bump
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
CLEANUP=true tickbox --dir tickbox/bump_version --disable-tui --max-concurrency=1