From 643e338aad098ed60e1e6a2ac903e5048a937007 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 11 Oct 2023 08:54:03 +0100 Subject: [PATCH] added ability to choose runner type --- .github/workflows/build-images.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-images.yaml b/.github/workflows/build-images.yaml index 734c0510..9b3faf5e 100644 --- a/.github/workflows/build-images.yaml +++ b/.github/workflows/build-images.yaml @@ -17,6 +17,10 @@ on: description: 'chromium version' required: false default: '' + type: + description: 'runner?' + required: false + default: 'ubuntu-latest' schedule: - cron: '0 1 * * *' @@ -28,9 +32,10 @@ name: Builds and pushes tagged image to DockerHub jobs: generate_build_deps: name: Generate Build Deps - runs-on: ubuntu-latest + runs-on: ${{ github.event.inputs.type }} steps: - name: Reclaiming disk space on / by removing dotnet/android/ghc + if: ${{ github.event.inputs.type == 'ubuntu-latest' }} run: | sudo rm -rf /usr/share/dotnet sudo rm -rf /usr/local/lib/android