Skip to content

Use correct ref for scheduled workflows (#1013) #1265

Use correct ref for scheduled workflows (#1013)

Use correct ref for scheduled workflows (#1013) #1265

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

Check failure on line 28 in .github/workflows/humble-rhel-binary-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/humble-rhel-binary-build.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
- 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