From 2d54140687841c011dac804b651c148fdeaf989a Mon Sep 17 00:00:00 2001 From: vidplace7 Date: Mon, 7 Oct 2024 01:57:03 -0400 Subject: [PATCH] Change git checkout to action --- .github/workflows/build.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 960cce6..6706b8e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,13 +109,13 @@ jobs: outputs: version: ${{ steps.build.outputs.version }} steps: - - id: checkout_firmware - name: Checkout Meshtastic firmware - uses: actions/checkout@v4 - with: - repository: meshtastic/firmware - ref: ${{ env.meshtastic_firmware_ref }} - submodules: recursive + # - id: checkout_firmware + # name: Checkout Meshtastic firmware + # uses: actions/checkout@v4 + # with: + # repository: meshtastic/firmware + # ref: ${{ env.meshtastic_firmware_ref }} + # submodules: recursive - id: checkout_custom uses: actions/checkout@v4 @@ -123,10 +123,10 @@ jobs: with: path: .custom - - name: Overlay custom firmware changes - run: | - rsync -av .custom/firmware/ ${{ github.workspace }} - rm -rf .custom + # - name: Overlay custom firmware changes + # run: | + # rsync -av .custom/firmware/ ${{ github.workspace }} + # rm -rf .custom - name: Cache PlatformIO and pip uses: actions/cache@v4 @@ -141,6 +141,7 @@ jobs: XDG_CACHE_HOME: ${{ github.workspace }}/.cache PLATFORMIO_CACHE_DIR: ${{ github.workspace }}/.cache/.platformio with: + git-ref: ${{ env.meshtastic_firmware_ref }} arch: ${{ matrix.arch }} board: ${{ matrix.board }} build-script-path: ${{ matrix.build-script-path }}