mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 05:17:35 +08:00
Checkout to matching firmware if possible
This commit is contained in:
@@ -16,7 +16,11 @@ jobs:
|
||||
repository: PX4/Firmware
|
||||
ref: master
|
||||
submodules: recurvise
|
||||
- run: git submodule update --init --recursive
|
||||
- name: Checkout matching branch on PX4/Firmware if possible
|
||||
run: |
|
||||
git fetch origin
|
||||
git checkout ${{github.head_ref}} || echo "Firmware branch: ${{github.head_ref}} not found, using master instead"
|
||||
git submodule update --init --recursive
|
||||
working-directory: ../Firmware
|
||||
- name: Configure Firmware to include current ECL version
|
||||
working-directory: ../Firmware/src/lib/ecl
|
||||
|
||||
Reference in New Issue
Block a user