From 8cfe6fba1ef18cc2316dff1fb93ec3c38f45a86c Mon Sep 17 00:00:00 2001 From: Sam Gammon Date: Sun, 23 Jul 2023 00:18:53 -0700 Subject: [PATCH] fix: build matrix conditions --- .github/workflows/trigger.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index 60d3bb9..4dccc48 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -71,46 +71,52 @@ jobs: gradle: "8.2" gradleLabel: "Gradle 8.2" main: true + labs: false - platform: Windows runner: windows-latest gradleLabel: "Gradle 8.2" gradle: "8.2" main: false + labs: false - platform: macOS runner: macos-latest gradleLabel: "Gradle 8.2" gradle: "8.2" main: false + labs: false - platform: Linux runner: ubuntu-latest gradleLabel: "Gradle 8.1" gradle: "8.1" main: false + labs: false - platform: Windows runner: windows-latest gradleLabel: "Gradle 8.1" gradle: "8.1" main: false + labs: false - platform: macOS runner: macos-latest gradleLabel: "Gradle 8.1" gradle: "8.1" main: false + labs: false - platform: Windows runner: windows-latest - gradleLabel: "Gradle (Latest)" + gradleLabel: "Gradle Latest" gradle: "release-candidate" main: false labs: true - platform: macOS runner: macos-latest - gradleLabel: "Gradle (Latest)" + gradleLabel: "Gradle Latest" gradle: "release-candidate" main: false labs: true - platform: Linux runner: ubuntu-latest - gradleLabel: "Gradle (Latest)" + gradleLabel: "Gradle Latest" gradle: "release-candidate" main: false labs: true @@ -121,7 +127,7 @@ jobs: flags: "--scan --stacktrace" artifact: "buildless-plugin-gradle" gradle: ${{ matrix.gradle }} - labs: ${{ matrix.labs }} + labs: ${{ fromJson(matrix.labs) }} coverage_report: "build/reports/kover/report.xml" provenance: "${{ fromJson(matrix.main) }}" coverage: "${{ fromJson(matrix.main) }}"