mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-22 03:15:37 +00:00
Build artifacts: added input variable
This commit is contained in:
parent
441085e23c
commit
feaa04b454
15
.github/workflows/build_artifacts.yml
vendored
15
.github/workflows/build_artifacts.yml
vendored
|
@ -8,24 +8,17 @@ name: "Build Artifacts for RetroDECK main manifest"
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
MANIFEST_FILENAME:
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DATE: ${{ github.run_id }}
|
DATE: ${{ github.run_id }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
Check-variables:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check MANIFEST_FILENAME is set
|
|
||||||
run: |
|
|
||||||
if [ -z "${{ env.MANIFEST_FILENAME }}" ]; then
|
|
||||||
echo "Error: MANIFEST_FILENAME is not set. This is required for the pipeline to run."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
Building-project:
|
Building-project:
|
||||||
needs: Check-variables
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue