Try to fix runs-on default

This commit is contained in:
uazo
2023-10-12 15:47:06 +09:00
committed by GitHub
parent 002dc9166f
commit e7fbfb574b
+2 -2
View File
@@ -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' }}