From 00731102c0057486be74b73f82e169c6ea46cedf Mon Sep 17 00:00:00 2001 From: James Fredley Date: Fri, 20 Sep 2024 21:15:47 -0400 Subject: [PATCH] update github workflow --- .github/workflows/gradle.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 493f857bb99..cd87dedcf7a 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,21 +14,18 @@ jobs: permissions: contents: read # to fetch code (actions/checkout) runs-on: ubuntu-latest - strategy: - matrix: - java: ['17'] env: WORKSPACE: ${{ github.workspace }} steps: - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 + uses: actions/setup-java@v4 with: - distribution: 'adopt' - java-version: ${{ matrix.java }} + distribution: temurin + java-version: 17 - name: Run Build id: build - uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3 + uses: gradle/gradle-build-action@v3 env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}