Skip to content

Commit

Permalink
Update GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennestuder committed Dec 1, 2024
1 parent f4bc153 commit 9b7abbb
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ "17" ]
gradle-version: [ "7.0.2", "7.6.1", "8.0.2", "8.5" ]
java-version: [ "17", "21" ]
gradle-version: [ "7.0.2", "7.6.4", "8.0.2", "8.11.1" ]
steps:
- name: Check out project
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'liberica'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
dependency-graph: generate-and-submit
- name: Build with Gradle
run: "./gradlew clean build -PtestJavaRuntimeVersion=${{ matrix.java-version }} -PtestGradleVersion=${{ matrix.gradle-version }}"
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
- name: Check out project
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
develocity-access-key: ${{ secrets.DV_ACCESS_KEY }}
- name: Build with Gradle
run: ./gradlew clean build -PtestJavaRuntimeVersion=${{ matrix.java-version }} -PtestGradleVersion=${{ matrix.gradle-version }}

0 comments on commit 9b7abbb

Please sign in to comment.