Skip to content

Commit

Permalink
Make runs-on a variable (#1479)
Browse files Browse the repository at this point in the history
Set runs-on to accept variables for when sharing workflow.
  • Loading branch information
MaxBed4d authored Jan 30, 2025
1 parent 345d9e4 commit f32e926
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ name: All in one
on:
workflow_call:
inputs:
runner:
required: false
type: string
description: 'Runner name'
default: 'arc-skc-aio-runner'
kayobe_image:
description: Kayobe container image
type: string
Expand Down Expand Up @@ -86,7 +91,7 @@ jobs:
all-in-one:
name: All in one
if: ${{ inputs.if && !cancelled() }}
runs-on: arc-skc-aio-runner
runs-on: ${{ inputs.runner }}
permissions: {}
env:
KAYOBE_ENVIRONMENT: ci-aio
Expand Down

0 comments on commit f32e926

Please sign in to comment.