From 9c310ef0adadcf78b68771bc6263c1a996c37677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Mi=C5=9B?= Date: Sun, 3 Mar 2024 00:40:42 +0100 Subject: [PATCH] Update workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patryk Miś --- .github/workflows/main.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a287312..f88a513 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,19 +15,17 @@ jobs: validation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gradle/wrapper-validation-action@v1 checks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: - java-version: 11 - distribution: 'adopt' - - uses: gradle/gradle-build-action@v2 - - name: Grant execute permission for gradlew - run: chmod +x gradlew + java-version: 17 + distribution: 'temurin' + - uses: gradle/actions/setup-gradle@v3 - name: Build project run: ./gradlew build --stacktrace