Skip to content

Commit 9c0a32d

Browse files
committed
ci(validate): choose best matching runner
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent c71ed01 commit 9c0a32d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ jobs:
6161
target.platforms.forEach(platform => {
6262
includes.push({
6363
target: targetName,
64-
platform: platform
64+
platform: platform,
65+
runner: platform.startsWith('linux/arm') ? 'ubuntu-24.04-arm' : 'ubuntu-24.04'
6566
});
6667
});
6768
} else {
6869
includes.push({
69-
target: targetName
70+
target: targetName,
71+
runner: 'ubuntu-24.04'
7072
});
7173
}
7274
}
@@ -75,7 +77,7 @@ jobs:
7577
});
7678
7779
validate:
78-
runs-on: ubuntu-24.04
80+
runs-on: ${{ matrix.runner }}
7981
needs:
8082
- prepare
8183
strategy:

0 commit comments

Comments
 (0)