From 1ac6d7d84bc3222c453aaaf2a66d1208456c3662 Mon Sep 17 00:00:00 2001 From: Val Brodsky Date: Thu, 31 Oct 2024 18:46:24 -0700 Subject: [PATCH] Integrate lbox with the publish workflow --- .github/workflows/lbox-publish.yml | 3 ++- .github/workflows/publish.yml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lbox-publish.yml b/.github/workflows/lbox-publish.yml index 782ea22cf..355c19a67 100644 --- a/.github/workflows/lbox-publish.yml +++ b/.github/workflows/lbox-publish.yml @@ -1,11 +1,12 @@ name: LBox Publish on: - workflow_dispatch: + workflow_call: inputs: tag: description: 'Release Tag' required: true + type: string concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4fcb10257..63fc5a9e0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,18 @@ permissions: id-token: write jobs: + build-lbox: + permissions: + actions: read + contents: write + id-token: write # Needed to access the workflow's OIDC identity. + packages: write + uses: ./.github/workflows/lbox-publish.yml + with: + tag: ${{ inputs.tag }} + secrets: inherit build: + needs: ['build-lbox'] runs-on: ubuntu-latest outputs: hashes: ${{ steps.hash.outputs.hashes }}