From 8be65bb0ab4c04abe8298f3448e89da583e8f9cb Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sat, 19 Nov 2022 18:40:17 -0600 Subject: [PATCH] Move the checkout --- .github/workflows/build_esp32.yml | 7 +++++++ .github/workflows/composite/build_base.yml | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_esp32.yml b/.github/workflows/build_esp32.yml index 8a109d2d1..75ae97fc3 100644 --- a/.github/workflows/build_esp32.yml +++ b/.github/workflows/build_esp32.yml @@ -11,6 +11,13 @@ 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: Build base id: base uses: ./.github/workflows/composite/build-base diff --git a/.github/workflows/composite/build_base.yml b/.github/workflows/composite/build_base.yml index 5c57e506a..7c7e91c59 100644 --- a/.github/workflows/composite/build_base.yml +++ b/.github/workflows/composite/build_base.yml @@ -9,12 +9,6 @@ outputs: runs: using: "composite" 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