From 0e90b29f85ffa11e850a87e806705dc5e2e93712 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Thu, 8 Oct 2020 10:49:07 +0900 Subject: [PATCH] fix: syntax --- .github/workflows/github-os-sample.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-os-sample.yml b/.github/workflows/github-os-sample.yml index f1d090a..e93669d 100644 --- a/.github/workflows/github-os-sample.yml +++ b/.github/workflows/github-os-sample.yml @@ -1,7 +1,13 @@ name: github-os-sample -on: workflow_dispatch +on: + workflow_dispatch: + inputs: + name: + description: runs-on + required: true + default: ubuntu-latest jobs: main: - runs-on: ${{ github.event.event_type }} + runs-on: ${{ github.event.inputs.os }} steps: - run: echo 'hello world!'