Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/lbox-publish.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Loading