---
name: Release
on:
push:
branches:
- main
- next
- next-major
- beta
- alpha
- "[0-9]+.[0-9]+.x"
- "[0-9]+.x"
permissions:
contents: write
jobs:
release:
uses: semantic-release-action/rust/.github/workflows/release-library.yml@v5
secrets:
cargo-registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}