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