Skip to content

Commit 707f919

Browse files
authored
Revert "[PLT-0] decouple the publish workflows for lbox and the sdk (#2027)"
This reverts commit 681f664.
1 parent 681f664 commit 707f919

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.github/workflows/lbox-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
name: LBox Publish
22

33
on:
4-
workflow_dispatch:
4+
workflow_call:
55
inputs:
66
tag:
77
description: 'Release Tag'
88
required: true
9+
type: string
910
prev_sdk_tag:
10-
description: 'Prev SDK Release Tag, used to determine which lbox files have changed'
11+
description: 'Prev SDK Release Tag'
1112
required: true
13+
type: string
1214

1315
concurrency:
1416
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ permissions:
2626
id-token: write
2727

2828
jobs:
29-
# build-lbox:
30-
# permissions:
31-
# actions: read
32-
# contents: write
33-
# id-token: write # Needed to access the workflow's OIDC identity.
34-
# packages: write
35-
# uses: ./.github/workflows/lbox-publish.yml
36-
# with:
37-
# tag: ${{ inputs.tag }}
38-
# prev_sdk_tag: ${{ inputs.prev_sdk_tag }}
39-
# secrets: inherit
29+
build-lbox:
30+
permissions:
31+
actions: read
32+
contents: write
33+
id-token: write # Needed to access the workflow's OIDC identity.
34+
packages: write
35+
uses: ./.github/workflows/lbox-publish.yml
36+
with:
37+
tag: ${{ inputs.tag }}
38+
prev_sdk_tag: ${{ inputs.prev_sdk_tag }}
39+
secrets: inherit
4040
build:
41-
# needs: ['build-lbox']
41+
needs: ['build-lbox']
4242
runs-on: ubuntu-latest
4343
outputs:
4444
hashes: ${{ steps.hash.outputs.hashes }}
@@ -252,4 +252,4 @@ jobs:
252252
digest: ${{ needs. container-publish.outputs.digest }}
253253
registry-username: ${{ github.actor }}
254254
secrets:
255-
registry-password: ${{ secrets.GITHUB_TOKEN }}
255+
registry-password: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)