Skip to content

Commit 681f664

Browse files
authored
[PLT-0] decouple the publish workflows for lbox and the sdk (#2027)
1 parent 21a3a1c commit 681f664

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

.github/workflows/lbox-publish.yml

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

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

1513
concurrency:
1614
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)