Skip to content

Commit

Permalink
CI: use contains
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Dec 1, 2024
1 parent eba90c1 commit a19163f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- ros_distribution: 'jazzy'
os: ubuntu-24.04

if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/${{ matrix.ros_distribution }}-devel'
if: contains(github.ref, 'master') || contains(github.ref, ${{ matrix.ros_distribution }})
steps:
- uses: ros-tooling/[email protected]
with:
Expand Down

0 comments on commit a19163f

Please sign in to comment.