ROS Humble Firmware Build #422
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ROS Humble Firmware Build | |
on: | |
pull_request: | |
# Run on PRs only to branches starting with 'humble' | |
branches: | |
- humble* | |
# Don't run when the following files are changed which don't effect firmware. | |
paths-ignore: | |
- 'docs/**' | |
- .gitignore | |
- LICENSE | |
- README.md | |
push: | |
# Run on pushes only to branches starting with 'humble' | |
branches: | |
- humble* | |
# Don't run when the following files are changed which don't effect firmware. | |
paths-ignore: | |
- 'docs/**' | |
- .gitignore | |
- LICENSE | |
- README.md | |
# Run daily at midnight to detect flakiness and broken dependencies | |
schedule: | |
- cron: '0 0 * * *' | |
# Allow manual triggering | |
workflow_dispatch: | |
jobs: | |
firmware: | |
# The current file calls the firmware workflow with the following parameters | |
uses: ./.github/workflows/reusable-platformio-ci.yml | |
with: | |
ros_distro: humble | |
# The reference field will be set to 'humble' only if the event that triggered the workflow is schedule. Otherwise, it will be left blank. | |
reference: ${{ github.event_name == 'schedule' && 'humble' || '' }} |