diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b35b681655..1f7b5d5813 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,15 +11,20 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout sources - uses: actions/checkout@v3 - - name: Set up JDK - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: - distribution: 'temurin' + distribution: temurin java-version: 21 - - name: Build artifacts + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + with: + cache-read-only: true + + - name: Execute Gradle build run: ./gradlew build -Pbuild.release=true + - name: Upload assets to GitHub uses: AButler/upload-release-assets@v2.0 with: