Build artifacts: added input variable

This commit is contained in:
XargonWan 2024-11-05 12:31:03 +09:00
parent 441085e23c
commit feaa04b454

View file

@ -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: