Skip to content

Commit df4b80c

Browse files
committed
Run actions for linux arm64 for commits submitted to develop branch
1 parent 7e1c5d9 commit df4b80c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/identify-ros-distro.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ on:
1010
description: "The ROS compatible Linux version"
1111
value: ${{ jobs.identify-ros-distro.outputs.linuxos }}
1212
env:
13-
ROLLING_VAR: ${{ contains(github.ref, 'develop') }}
14-
KILTED_VAR: ${{ contains(github.ref, 'kilted') }}
15-
JAZZY_VAR: ${{ contains(github.ref, 'jazzy') }}
16-
IRON_VAR: ${{ contains(github.ref, 'iron') }}
17-
HUMBLE_VAR: ${{ contains(github.ref, 'humble') }}
13+
ROLLING_VAR: ${{ contains(github.ref, 'develop') || contains(github.base_ref, 'develop') }}
14+
KILTED_VAR: ${{ contains(github.ref, 'kilted') || contains(github.base_ref, 'kilted') }}
15+
JAZZY_VAR: ${{ contains(github.ref, 'jazzy') || contains(github.base_ref, 'jazzy') }}
16+
IRON_VAR: ${{ contains(github.ref, 'iron') || contains(github.base_ref, 'iron') }}
17+
HUMBLE_VAR: ${{ contains(github.ref, 'humble') || contains(github.base_ref, 'humble') }}
1818

1919
jobs:
2020
identify-ros-distro:

.github/workflows/linux-build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
- id: set-matrix
3232
run: |
33-
if [[ "${{ github.base_ref }}" == "develop" ]]; then
33+
if [[ ${{ contains(github.base_ref, 'develop') || contains(github.ref, 'develop') }}" ]]; then
3434
echo "arm64-matrix=[{\"architecture\":\"arm64\",\"node-version\":\"22.X\",\"ubuntu-version\":\"24.04-arm\"}]" >> $GITHUB_OUTPUT
3535
else
3636
echo "arm64-matrix=[]" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)