Fix publish workflow

This commit is contained in:
ArthurSonzogni
2025-05-01 10:09:18 +02:00
parent 625915b52c
commit 694fa6bf5c
6 changed files with 5 additions and 27 deletions

View File

@@ -8,16 +8,6 @@ on:
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

View File

@@ -114,15 +114,3 @@ jobs:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: source.tar.gz.intoto.jsonl
overwrite: true
# Publish to Bazel Central Registry.
# This call the .github/workflows/publish.yaml workflow.
publish_to_bazel_central_registry:
name: "Publish to Bazel Central Registry"
needs: package_source
uses: ./.github/workflows/publish.yaml
with:
tag_name: ${{ github.ref }}
secrets:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}