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
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
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: execution-with-caching-${{ 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
@ -31,7 +33,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