From feaa04b4548dd3adea0c4297462f6c0f3be95211 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 5 Nov 2024 12:31:03 +0900 Subject: [PATCH] Build artifacts: added input variable --- .github/workflows/build_artifacts.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_artifacts.yml b/.github/workflows/build_artifacts.yml index f22e5b5..fb9c75c 100644 --- a/.github/workflows/build_artifacts.yml +++ b/.github/workflows/build_artifacts.yml @@ -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: