FTXUI/.github/workflows/publish.yaml
2025-05-01 10:06:49 +02:00

33 lines
705 B
YAML

name: "Publish to Bazel Central Registry"
on:
# On manual trigger:
workflow_dispatch:
inputs:
tag_name:
required: true
type: string
# Called from the release workflow:
workflow_call:
inputs:
tag_name:
required: true
type: string
secrets:
PUBLISH_TOKEN:
required: true
jobs:
publish:
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v0.0.4
with:
tag_name: ${{ inputs.tag_name }}
registry_fork: ArthurSonzogni/bazel-central-registry
permissions:
attestations: write
contents: write
id-token: write
secrets:
publish_token: ${{ secrets.PUBLISH_TOKEN }}