From d2d2f278cf78c21ace92addfd56df1014ce4c2c2 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sat, 19 Nov 2022 16:25:00 -0600 Subject: [PATCH] Apparently checkout before using a local workflow --- .github/workflows/build_esp32.yml | 7 ------- .github/workflows/main_matrix.yml | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_esp32.yml b/.github/workflows/build_esp32.yml index 7b618604b..b3ce24ed8 100644 --- a/.github/workflows/build_esp32.yml +++ b/.github/workflows/build_esp32.yml @@ -11,13 +11,6 @@ jobs: build-esp32: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - submodules: "recursive" - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} - - name: Setup Python uses: actions/setup-python@v4 with: diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 4cbe3f4bd..14616ca22 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -97,6 +97,13 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + submodules: "recursive" + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - uses: ./.github/workflows/build_esp32.yml with: board: ${{ matrix.board }}