Skip to content

Commit 623e56d

Browse files
update selfhost runner logic1
1 parent eae19b0 commit 623e56d

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/_linux-build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,17 @@ jobs:
115115

116116
strategy:
117117
matrix:
118-
runner:
119-
- type: ppc64le
120-
labels: ["self-hosted", "linux", "ppc64le"]
121-
- type: default
122-
labels: ["${{ inputs.runner_prefix }}", "${{ inputs.runner }}"]
118+
labels:
119+
- ["self-hosted", "linux", "ppc64le"]
120+
- ["${{ inputs.runner_prefix }}", "${{ inputs.runner }}"]
121+
include:
122+
- labels: ["self-hosted", "linux", "ppc64le"]
123+
type: ppc64le
124+
- labels: ["${{ inputs.runner_prefix }}", "${{ inputs.runner }}"]
125+
type: default
123126
exclude:
124127
- type: ppc64le
125-
when: ${{ inputs.runner != 'ppc64le' }}
128+
if: ${{ inputs.runner != 'ppc64le' }}
126129
steps:
127130

128131
- name: Setup SSH (Click me for login details)

0 commit comments

Comments
 (0)