From 30984e080257d02a12343d94418c403d16080d2f Mon Sep 17 00:00:00 2001 From: Matthew Roberson Date: Mon, 27 Oct 2025 14:33:23 -0500 Subject: [PATCH] [PLT-0] decouple the publish workflows for lbox and the sdk --- .github/workflows/lbox-publish.yml | 6 ++---- .github/workflows/publish.yml | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/lbox-publish.yml b/.github/workflows/lbox-publish.yml index dcca8e561..58ccedcbc 100644 --- a/.github/workflows/lbox-publish.yml +++ b/.github/workflows/lbox-publish.yml @@ -1,16 +1,14 @@ name: LBox Publish on: - workflow_call: + workflow_dispatch: inputs: tag: description: 'Release Tag' required: true - type: string prev_sdk_tag: - description: 'Prev SDK Release Tag' + description: 'Prev SDK Release Tag, used to determine which lbox files have changed' required: true - type: string concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f540d2a6d..11845e6d2 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 }} \ No newline at end of file + registry-password: ${{ secrets.GITHUB_TOKEN }}