From fdb5f5fb927908291f84cb29ab01059a43653c95 Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:13:17 +0200 Subject: [PATCH] ci: Setup Java and make gradle wrapper executable --- .github/workflows/publish-release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 033c6aa6..aefa0295 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -71,6 +71,15 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Validate gradle wrapper + uses: gradle/actions/wrapper-validation@v3 + - name: Setup JDK + uses: actions/setup-java@v4 + with: + java-version: 21 + distribution: temurin + - name: Make gradle wrapper executable + run: chmod +x ./gradlew - name: Build ${{ matrix.loader }} artifact run: ./gradlew :${{ matrix.loader }}:build - name: Upload ${{ matrix.loader }} artifact