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