From 3b1333218a22465d2048338edc3b623ca844180a Mon Sep 17 00:00:00 2001 From: Tofaa2 Date: Sat, 22 Feb 2025 13:56:28 +0400 Subject: [PATCH] Forgot a step --- .github/workflows/dev-build-release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dev-build-release.yml b/.github/workflows/dev-build-release.yml index c375fae..237e53d 100644 --- a/.github/workflows/dev-build-release.yml +++ b/.github/workflows/dev-build-release.yml @@ -20,8 +20,16 @@ jobs: - name: Clone project uses: actions/checkout@v4 - - name: Install JDK 21 + - name: Install JDK 8 uses: actions/setup-java@v4 + with: + java-version: '8' + distribution: 'temurin' + check-latest: true + + - name: Setup gradle + uses: gradle/actions/setup-gradle@v4 + - name: Run build & publish with Gradle Wrapper if: github.ref == 'refs/heads/master' run: chmod +x ./gradlew && ./gradlew publishAllPublicationsToMavenRepository