Skip to content

Instantly share code, notes, and snippets.

@cortinico
Created November 2, 2020 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cortinico/efc23a9b83a4e50b8464bb14087d01fa to your computer and use it in GitHub Desktop.
Save cortinico/efc23a9b83a4e50b8464bb14087d01fa to your computer and use it in GitHub Desktop.
How-to Github Actions: Build Matrix - Example Detekt
jobs:
build-debug-apk:
strategy:
fail-fast: false
matrix:
agp: [""]
kotlin: [""]
experimental: [false]
name: ["stable"]
include:
- agp: 4.2.+
experimental: true
name: AGP-4.2.+
- kotlin: 1.4.20+
experimental: true
name: kotlin-EAP-1.4.20+
continue-on-error: ${{ matrix.experimental }}
name: Build Debug APK - ${{ matrix.name }} - Experimental ${{ matrix.experimental }}
env:
VERSION_AGP: ${{ matrix.agp }}
VERSION_KOTLIN: ${{ matrix.kotlin }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment