Skip to content

Commit e7e4afd

Browse files
author
Dario
committed
ci: make runner configurable in json workflow
1 parent 58494d6 commit e7e4afd

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/json.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
name: Reusable JSON
22
on:
33
workflow_call:
4+
inputs:
5+
runner:
6+
required: false
7+
description: Runner type
8+
default: ubuntu-latest
9+
type: string
410
jobs:
511
json:
6-
runs-on: ubuntu-latest
12+
runs-on: ${{ github.event.inputs.runner }}
713
steps:
814
- name: Checkout current git repository
915
uses: actions/checkout@v3

0 commit comments

Comments
 (0)