From 5e04638348340861f1217aa4b2244f42fd6841d5 Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Tue, 20 Dec 2022 13:39:31 +0100 Subject: [PATCH] Fix typo --- .github/workflows/create-azure-vm-runners.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-azure-vm-runners.yml b/.github/workflows/create-azure-vm-runners.yml index 5f759f6..d8346d2 100644 --- a/.github/workflows/create-azure-vm-runners.yml +++ b/.github/workflows/create-azure-vm-runners.yml @@ -82,7 +82,7 @@ jobs: echo "::add-mask::$ACTIONS_RUNNER_TOKEN" echo ACTIONS_RUNNER_TOKEN=$ACTIONS_RUNNER_TOKEN >> $GITHUB_ENV - case "${{ inputs.runner-scope }}" in + case "${{ inputs.runner_scope }}" in "org-level") echo ACTIONS_RUNNER_REGISTRATION_URL="https://github.com/${{ env.ACTIONS_RUNNER_ORG }}" >> $GITHUB_ENV ;; @@ -90,7 +90,8 @@ jobs: echo ACTIONS_RUNNER_REGISTRATION_URL="https://github.com/${{ env.ACTIONS_RUNNER_ORG }}/${{ env.ACTIONS_RUNNER_REPO }}" >> $GITHUB_ENV ;; *) - die "Unsupported runner scope: ${{ inputs.runner-scope }}" + echo "Unsupported runner scope: ${{ inputs.runner_scope }}" + exit 1 ;; esac