Skip to content

Commit 4762bc1

Browse files
authored
Allow specifying the webapp artifact name for the reusable workflows (#2499)
1 parent e13c6a4 commit 4762bc1

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/build_linux.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ on:
2020
type: boolean
2121
required: false
2222
description: "Whether to run the blob report"
23+
prepare-artifact-name:
24+
type: string
25+
required: false
26+
description: "The name of the prepare artifact to use, defaults to 'webapp'"
27+
default: "webapp"
2328
env:
2429
SQLCIPHER_BUNDLED: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
2530
MAX_GLIBC: 2.31 # bullseye-era glibc, used by glibc-check.sh
@@ -64,7 +69,7 @@ jobs:
6469

6570
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
6671
with:
67-
name: webapp
72+
name: ${{ inputs.prepare-artifact-name }}
6873

6974
- name: Cache .hak
7075
id: cache

.github/workflows/build_macos.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ on:
3131
type: boolean
3232
required: false
3333
description: "Whether to run the blob report"
34+
prepare-artifact-name:
35+
type: string
36+
required: false
37+
description: "The name of the prepare artifact to use, defaults to 'webapp'"
38+
default: "webapp"
3439
permissions: {} # No permissions required
3540
jobs:
3641
build:
@@ -41,7 +46,7 @@ jobs:
4146

4247
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
4348
with:
44-
name: webapp
49+
name: ${{ inputs.prepare-artifact-name }}
4550

4651
- name: Cache .hak
4752
id: cache

.github/workflows/build_windows.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ on:
3434
type: boolean
3535
required: false
3636
description: "Whether to run the blob report"
37+
prepare-artifact-name:
38+
type: string
39+
required: false
40+
description: "The name of the prepare artifact to use, defaults to 'webapp'"
41+
default: "webapp"
3742
permissions: {} # No permissions required
3843
jobs:
3944
build:
@@ -69,7 +74,7 @@ jobs:
6974

7075
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
7176
with:
72-
name: webapp
77+
name: ${{ inputs.prepare-artifact-name }}
7378

7479
- name: Cache .hak
7580
id: cache

0 commit comments

Comments
 (0)