From 5b7f3a07d5b742651b5e578c683b246c6ed18cbe Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Fri, 21 Jun 2024 19:46:21 -0700 Subject: [PATCH] workflow: expose runs-on as an input --- .github/workflows/workflow.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index cca55ed..6486031 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,6 +1,10 @@ on: workflow_call: inputs: + runs-on: + required: true + type: string + default: "ubuntu-latest" visibility: required: false type: string @@ -28,7 +32,7 @@ on: jobs: inventory: - runs-on: ubuntu-latest + runs-on: ${{ inputs.runs-on }} outputs: systems: ${{ steps.inventory.outputs.systems }}