ROS Foxy Firmware Build #386
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 Foxy Firmware Build | |
on: | |
pull_request: | |
# Run on PRs only to branches starting with 'foxy' | |
branches: | |
- foxy* | |
# 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 'foxy' | |
branches: | |
- foxy* | |
# 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: foxy | |
# The reference field will be set to 'foxy' only if the event that triggered the workflow is schedule. Otherwise, it will be left blank. | |
reference: ${{ github.event_name == 'schedule' && 'foxy' || '' }} |