From 707f919f3c94f27ad2d3189e9a92829959f53b50 Mon Sep 17 00:00:00 2001 From: Matthew Roberson Date: Tue, 28 Oct 2025 09:36:19 -0500 Subject: [PATCH] Revert "[PLT-0] decouple the publish workflows for lbox and the sdk (#2027)" This reverts commit 681f6645ab8cdb8a222ddb60da9b874dc46a9c1c. --- .github/workflows/lbox-publish.yml | 6 ++++-- .github/workflows/publish.yml | 26 +++++++++++++------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/lbox-publish.yml b/.github/workflows/lbox-publish.yml index 58ccedcbc..dcca8e561 100644 --- a/.github/workflows/lbox-publish.yml +++ b/.github/workflows/lbox-publish.yml @@ -1,14 +1,16 @@ name: LBox Publish on: - workflow_dispatch: + workflow_call: inputs: tag: description: 'Release Tag' required: true + type: string prev_sdk_tag: - description: 'Prev SDK Release Tag, used to determine which lbox files have changed' + description: 'Prev SDK 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 11845e6d2..f540d2a6d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,19 +26,19 @@ 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 }} -# prev_sdk_tag: ${{ inputs.prev_sdk_tag }} -# secrets: inherit + 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 }} + prev_sdk_tag: ${{ inputs.prev_sdk_tag }} + secrets: inherit build: -# needs: ['build-lbox'] + needs: ['build-lbox'] runs-on: ubuntu-latest outputs: hashes: ${{ steps.hash.outputs.hashes }} @@ -252,4 +252,4 @@ jobs: digest: ${{ needs. container-publish.outputs.digest }} registry-username: ${{ github.actor }} secrets: - registry-password: ${{ secrets.GITHUB_TOKEN }} + registry-password: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file