From abac1a9c3e988da32fa49366a3f9f36e7ec14459 Mon Sep 17 00:00:00 2001 From: "Ash (ashisbored)" Date: Sun, 12 Dec 2021 16:46:13 +0000 Subject: [PATCH] fix(ci): Update GitHub Actions to use Java 17 to build --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0e29ef..2eaf8cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,14 +9,16 @@ jobs: uses: actions/checkout@v2 - name: Validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - - name: Setup JDK 16 + - name: Setup JDK 17 uses: actions/setup-java@v1 with: - java-version: 16 + java-version: 17 - name: Ensure gradlew is executable run: chmod +x ./gradlew - name: Build with gradle - run: ./gradlew build + uses: gradle/gradle-build-action@v2 + with: + arguments: build - name: Upload build artifacts uses: actions/upload-artifact@v2 with: