Restrict quick-check workflow to ubuntu for faster feedback

This commit is contained in:
Daz DeBoer
2022-05-29 12:13:55 -06:00
parent 1ba2a63e58
commit f9e15febb7
12 changed files with 75 additions and 42 deletions

View File

@@ -5,7 +5,9 @@ on:
inputs:
cache-key-prefix:
type: string
workflow_dispatch:
runner-os:
type: string
default: '["ubuntu-latest"]'
env:
GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: sample-kotlin-dsl-${{ inputs.cache-key-prefix }}
@@ -15,7 +17,7 @@ jobs:
seed-build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: ${{fromJSON(inputs.runner-os)}}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
@@ -30,7 +32,7 @@ jobs:
needs: seed-build
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: ${{fromJSON(inputs.runner-os)}}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources