mirror of
https://github.com/DeterminateSystems/ci.git
synced 2025-06-05 17:18:43 +02:00
workflow: expose runs-on as an input
This commit is contained in:
parent
9a14b07c82
commit
5b7f3a07d5
1 changed files with 5 additions and 1 deletions
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue