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