Created
November 2, 2020 14:23
-
-
Save cortinico/1ada95fd04f04488a738c66a80beb97d to your computer and use it in GitHub Desktop.
How-to Github Actions: Build Matrix - Example Detekt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
gradle: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
jdk: [8, 11, 14] | |
runs-on: ${{ matrix.os }} | |
env: | |
JDK_VERSION: ${{ matrix.jdk }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
... | |
- name: Setup Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.jdk }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment