From 8fe02d19e783901bfed556a03b6747a47b460321 Mon Sep 17 00:00:00 2001 From: Cameron Beneteau Date: Mon, 2 Dec 2024 01:46:41 -0500 Subject: [PATCH] Create reusable workflow --- .github/workflows/reusable-build-project.yml | 3 --- .github/workflows/test-project-name.yml | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-build-project.yml b/.github/workflows/reusable-build-project.yml index 95ff6f5fe..ec8a75d64 100644 --- a/.github/workflows/reusable-build-project.yml +++ b/.github/workflows/reusable-build-project.yml @@ -16,9 +16,6 @@ jobs: build: runs-on: self-hosted steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Build ${{ github.event.inputs.project }} for ${{ github.event.inputs.platform }} run: | cd firmware diff --git a/.github/workflows/test-project-name.yml b/.github/workflows/test-project-name.yml index ddf564209..014ed5cdc 100644 --- a/.github/workflows/test-project-name.yml +++ b/.github/workflows/test-project-name.yml @@ -7,6 +7,10 @@ jobs: test-string-replacement: runs-on: ubuntu-latest steps: + + - name: Checkout repository + uses: actions/checkout@v4 + - name: Build project uses: ./github-actions/reusable-build-project with: