mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 23:34:08 +08:00
Fix github actions
This commit is contained in:
parent
de33885658
commit
d63e4edfd8
2
.github/workflows/build_tests.yml
vendored
2
.github/workflows/build_tests.yml
vendored
@ -1,7 +1,7 @@
|
||||
|
||||
name: Build Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
Linux-GCC:
|
||||
|
||||
6
.github/workflows/firmware_build_test.yml
vendored
6
.github/workflows/firmware_build_test.yml
vendored
@ -1,6 +1,6 @@
|
||||
name: Firmware Build Test
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
Firmware-build:
|
||||
@ -20,7 +20,9 @@ jobs:
|
||||
working-directory: ../Firmware
|
||||
- name: Configure Firmware to include current ECL version
|
||||
working-directory: ../Firmware/src/lib/ecl
|
||||
run: git checkout ${{ github.sha }}
|
||||
run: |
|
||||
git fetch origin +${{ github.ref }}
|
||||
git checkout ${{ github.sha }}
|
||||
- name: Add and commit new ECL version
|
||||
run: |
|
||||
git config --global user.email "${GIT_COMMITTER_EMAIL}"
|
||||
|
||||
2
.github/workflows/format_checks.yml
vendored
2
.github/workflows/format_checks.yml
vendored
@ -1,6 +1,6 @@
|
||||
name: Format Checks
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
format_checks:
|
||||
|
||||
2
.github/workflows/unit_tests.yml
vendored
2
.github/workflows/unit_tests.yml
vendored
@ -1,6 +1,6 @@
|
||||
name: Unit Tests
|
||||
|
||||
on: [push, pull_request]
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
unit_tests:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user