Skip to content

Commit f32e926

Browse files
authored
Make runs-on a variable (#1479)
Set runs-on to accept variables for when sharing workflow.
1 parent 345d9e4 commit f32e926

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ name: All in one
77
on:
88
workflow_call:
99
inputs:
10+
runner:
11+
required: false
12+
type: string
13+
description: 'Runner name'
14+
default: 'arc-skc-aio-runner'
1015
kayobe_image:
1116
description: Kayobe container image
1217
type: string
@@ -86,7 +91,7 @@ jobs:
8691
all-in-one:
8792
name: All in one
8893
if: ${{ inputs.if && !cancelled() }}
89-
runs-on: arc-skc-aio-runner
94+
runs-on: ${{ inputs.runner }}
9095
permissions: {}
9196
env:
9297
KAYOBE_ENVIRONMENT: ci-aio

0 commit comments

Comments
 (0)