diff --git a/.github/workflows/build_esp32.yml b/.github/workflows/build_esp32.yml index 75ae97fc3..7cb41aa88 100644 --- a/.github/workflows/build_esp32.yml +++ b/.github/workflows/build_esp32.yml @@ -11,13 +11,7 @@ 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}} - + - uses: actions/checkout@v3 - 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 7c7e91c59..ea313ef73 100644 --- a/.github/workflows/composite/build_base.yml +++ b/.github/workflows/composite/build_base.yml @@ -9,6 +9,12 @@ 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