From bcd0c31515e52bbe36603cb45527ecae8690fe6c Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 5 Nov 2024 11:39:14 +0900 Subject: [PATCH] Fixing build-artifacts wokflow --- .github/workflows/build-artifacts.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 7ec815a..4363ffa 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -3,18 +3,18 @@ name: "Build Artifacts for RetroDECK main manifest" on: push: branches: - - master - - main + - master + - main workflow_call: jobs: - Building-project: - runs-on: ubuntu-latest + install-dependencies: + uses: RetroDECK/components-template/.github/workflows/install_dependencies.yml@main + with: + # You can pass inputs here if the `install_dependencies.yml` workflow defines them - steps: - - - name: "Install dependencies" - uses: RetroDECK/components-template/.github/workflows/install_dependencies.yml@main - - - name: "Build project" - uses: RetroDECK/components-template/.github/workflows/build_artifacts.yml@main \ No newline at end of file + build-project: + needs: install-dependencies # Ensures this job only runs after install-dependencies + uses: RetroDECK/components-template/.github/workflows/build_artifacts.yml@main + with: + # Pass inputs as needed if the `build_artifacts.yml` workflow defines them