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 }}