Skip to content

Commit

Permalink
Use branch name main instead of master
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeyoung-Lim committed Jul 31, 2022
1 parent ea7aafc commit f1a9ade
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/firmware_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Firmware Build and SITL Tests
on:
push:
branches:
- master
- main
pull_request:
branches:
- '*'
Expand All @@ -21,17 +21,17 @@ jobs:
image: px4io/px4-dev-simulation-focal:2021-05-31
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined
steps:
- name: Checkout Firmware master
- name: Checkout Firmware main
uses: actions/[email protected]
with:
repository: PX4/Firmware
ref: master
ref: main
path: Firmware
fetch-depth: 0
submodules: recurvise
- name: Checkout matching branch on PX4/Firmware if possible
run: |
git checkout ${{github.head_ref}} || echo "Firmware branch: ${{github.head_ref}} not found, using master instead"
git checkout ${{github.head_ref}} || echo "Firmware branch: ${{github.head_ref}} not found, using main instead"
git submodule update --init --recursive
working-directory: Firmware
- name: Configure Firmware to include current sitl_gazebo version
Expand Down

0 comments on commit f1a9ade

Please sign in to comment.