From 0d18ba3ff2d067907443cb66368117eb2accd72b Mon Sep 17 00:00:00 2001 From: "w.glanzer" Date: Wed, 23 Oct 2024 18:32:35 +0200 Subject: [PATCH] chore: updated build.yml workflow for github --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34a908f..2ef3799 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,17 +8,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: - java-version: 11 + distribution: 'zulu' + java-version: '11' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build - name: Archive artifacts - uses: actions/upload-artifact@v2-preview + uses: actions/upload-artifact@v4 with: name: distribution path: build/distributions/*.zip