Use correct ref for scheduled workflows (#1013) #1265
Workflow file for this run
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: Humble RHEL Binary Build | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- humble | ||
pull_request: | ||
branches: | ||
- humble | ||
push: | ||
branches: | ||
- humble | ||
schedule: | ||
# Run every day to detect flakiness and broken dependencies | ||
- cron: '03 2 * * *' | ||
jobs: | ||
humble_rhel_binary: | ||
name: Humble RHEL binary build | ||
runs-on: ubuntu-latest | ||
env: | ||
ROS_DISTRO: humble | ||
container: ghcr.io/ros-controls/ros:humble-rhel | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/ros2_controllers | ||
<<<<<<< HEAD | ||
- run: | | ||
======= | ||
ref: ${{ github.event_name == 'schedule' && 'humble' || '' }} | ||
- name: Install dependencies | ||
run: | | ||
>>>>>>> 737a45b (Use correct ref for scheduled workflows (#1013)) | ||
rosdep update | ||
rosdep install -iy --from-path src/ros2_controllers | ||
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash | ||
colcon build | ||
colcon test |