Allow specifying the webapp artifact name for the reusable workflows (#2499)
This commit is contained in:
@@ -20,6 +20,11 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
description: "Whether to run the blob report"
|
description: "Whether to run the blob report"
|
||||||
|
prepare-artifact-name:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: "The name of the prepare artifact to use, defaults to 'webapp'"
|
||||||
|
default: "webapp"
|
||||||
env:
|
env:
|
||||||
SQLCIPHER_BUNDLED: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
|
SQLCIPHER_BUNDLED: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
|
||||||
MAX_GLIBC: 2.31 # bullseye-era glibc, used by glibc-check.sh
|
MAX_GLIBC: 2.31 # bullseye-era glibc, used by glibc-check.sh
|
||||||
@@ -64,7 +69,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
|
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
|
||||||
with:
|
with:
|
||||||
name: webapp
|
name: ${{ inputs.prepare-artifact-name }}
|
||||||
|
|
||||||
- name: Cache .hak
|
- name: Cache .hak
|
||||||
id: cache
|
id: cache
|
||||||
|
|||||||
@@ -31,6 +31,11 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
description: "Whether to run the blob report"
|
description: "Whether to run the blob report"
|
||||||
|
prepare-artifact-name:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: "The name of the prepare artifact to use, defaults to 'webapp'"
|
||||||
|
default: "webapp"
|
||||||
permissions: {} # No permissions required
|
permissions: {} # No permissions required
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -41,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
|
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
|
||||||
with:
|
with:
|
||||||
name: webapp
|
name: ${{ inputs.prepare-artifact-name }}
|
||||||
|
|
||||||
- name: Cache .hak
|
- name: Cache .hak
|
||||||
id: cache
|
id: cache
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
description: "Whether to run the blob report"
|
description: "Whether to run the blob report"
|
||||||
|
prepare-artifact-name:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: "The name of the prepare artifact to use, defaults to 'webapp'"
|
||||||
|
default: "webapp"
|
||||||
permissions: {} # No permissions required
|
permissions: {} # No permissions required
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -69,7 +74,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
|
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
|
||||||
with:
|
with:
|
||||||
name: webapp
|
name: ${{ inputs.prepare-artifact-name }}
|
||||||
|
|
||||||
- name: Cache .hak
|
- name: Cache .hak
|
||||||
id: cache
|
id: cache
|
||||||
|
|||||||
Reference in New Issue
Block a user