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:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
MANIFEST_FILENAME:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
env:
|
||||
DATE: ${{ github.run_id }}
|
||||
|
||||
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:
|
||||
needs: Check-variables
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue