Skip to content

Commit 91cbc90

Browse files
authored
Fix file filter (#1901)
1 parent feaf687 commit 91cbc90

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/lbox-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
description: 'Release Tag'
88
required: true
99
type: string
10+
prev_sdk_tag:
11+
description: 'Prev SDK Release Tag'
12+
required: true
13+
type: string
1014

1115
concurrency:
1216
group: ${{ github.workflow }}-${{ github.ref }}
@@ -29,8 +33,7 @@ jobs:
2933
- uses: dorny/paths-filter@v3
3034
id: filter
3135
with:
32-
ref: ${{ github.head_ref }}
33-
base: ${{ inputs.tag }}
36+
base: ${{ inputs.prev_sdk_tag }}
3437
list-files: 'json'
3538
filters: |
3639
lbox:

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
tag:
77
description: 'Release Tag'
88
required: true
9+
prev_sdk_tag:
10+
description: 'Prev SDK Release Tag, used to determine which lbox files have changed'
11+
required: true
912
skip-tests:
1013
description: 'Skip PROD Test (Do not do this unless there is an emergency)'
1114
default: false
@@ -32,6 +35,7 @@ jobs:
3235
uses: ./.github/workflows/lbox-publish.yml
3336
with:
3437
tag: ${{ inputs.tag }}
38+
prev_sdk_tag: ${{ inputs.prev_sdk_tag }}
3539
secrets: inherit
3640
build:
3741
needs: ['build-lbox']

0 commit comments

Comments
 (0)