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