workflow: expose runs-on as an input

This commit is contained in:
Cole Mickens 2024-06-21 19:46:21 -07:00
parent 9a14b07c82
commit 5b7f3a07d5

View file

@ -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 }}