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