From cabb7cad91133897a80858fdbad608b0ff83e00d Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sun, 27 Apr 2025 11:38:44 +0200 Subject: [PATCH] Update workflow --- .bcr/source.template.json | 2 +- .github/workflows/{publish_to_bcr.yaml => publish.yaml} | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) rename .github/workflows/{publish_to_bcr.yaml => publish.yaml} (71%) diff --git a/.bcr/source.template.json b/.bcr/source.template.json index c7078647d..6a8976985 100644 --- a/.bcr/source.template.json +++ b/.bcr/source.template.json @@ -1,5 +1,5 @@ { "integrity": "", "strip_prefix": "", - "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/source.tar.gz", + "url": "https://github.com/ArthurSonzogni/FTXUI/releases/download/{TAG}/source.tar.gz" } diff --git a/.github/workflows/publish_to_bcr.yaml b/.github/workflows/publish.yaml similarity index 71% rename from .github/workflows/publish_to_bcr.yaml rename to .github/workflows/publish.yaml index 43e11599b..83f17ba94 100644 --- a/.github/workflows/publish_to_bcr.yaml +++ b/.github/workflows/publish.yaml @@ -1,12 +1,12 @@ on: - # Run the publish workflow after a successful release. + # On new releases: workflow_call: inputs: tag_name: required: true type: string - # Allow manual triggering of the workflow. + # On manual trigger: workflow_dispatch: inputs: tag_name: @@ -15,10 +15,9 @@ on: jobs: publish: - uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@[version] + uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v0.0.4 with: tag_name: ${{ inputs.tag_name }} - # GitHub repository which is a fork of the upstream where the Pull Request will be opened. registry_fork: ArthurSonzogni/bazel-central-registry permissions: attestations: write