From e7fbfb574b8846b13b458f410bd00dfa27e29924 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:47:06 +0900 Subject: [PATCH] Try to fix runs-on default --- .github/workflows/build-images.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-images.yaml b/.github/workflows/build-images.yaml index 87032bb5..67e6bf98 100644 --- a/.github/workflows/build-images.yaml +++ b/.github/workflows/build-images.yaml @@ -20,7 +20,7 @@ on: type: description: 'runner?' required: false - default: 'ubuntu-latest' + default: 'ubuntu-latest' schedule: - cron: '0 1 * * *' @@ -32,7 +32,7 @@ name: Builds and pushes tagged image to DockerHub jobs: generate_build_deps: name: Generate Build Deps - runs-on: ${{ github.event.inputs.type }} + runs-on: ${{ fromJSON('["ubuntu-latest", github.event.inputs.type]')[github.event.inputs.type == ''] }} steps: - name: Reclaiming disk space on / by removing dotnet/android/ghc if: ${{ github.event.inputs.type == 'ubuntu-latest' }}