aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/shadow_job.yml17
1 files changed, 13 insertions, 4 deletions
diff --git a/.github/workflows/shadow_job.yml b/.github/workflows/shadow_job.yml
index 1f22c77b..aa261b6a 100644
--- a/.github/workflows/shadow_job.yml
+++ b/.github/workflows/shadow_job.yml
@@ -8,14 +8,22 @@ env:
name: Shadow job
jobs:
+ provide-agp-version-matrix:
+ runs-on: ubuntu-latest
+ outputs:
+ agp-versions: ${{ steps.build-agp-matrix.outputs.agp-versions }}
+ steps:
+ - id: agp-version-finder
+ uses: usefulness/agp-version-finder-action@v1
+ - id: build-agp-matrix
+ run: echo 'agp-versions=["${{ steps.agp-version-finder.outputs.latest-stable }}", "${{ steps.agp-version-finder.outputs.latest-beta }}","${{ steps.agp-version-finder.outputs.latest-alpha }}"]' >> $GITHUB_OUTPUT
+
shadow-job:
+ needs: [provide-agp-versions]
strategy:
fail-fast: false
matrix:
- agp-version:
- - 7.4.2
- - 8.0.0-beta03
- - 8.1.0-alpha07
+ agp-version: ${{ fromJSON(needs.provide-agp-version-matrix.outputs.agp-versions) }}
gradle-version:
- wrapper
- release-nightly
@@ -23,6 +31,7 @@ jobs:
java-version:
- 18
runs-on: ubuntu-latest
+ name: Run Gradle-${{ matrix.gradle-version }}, AGP-${{ matrix.agp-version }}, Java-${{ matrix.java-version }}
steps:
- name: Checkout repository
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0