From 7836b07cd90ca8204e3eff333f19155d3b9d4690 Mon Sep 17 00:00:00 2001 From: minemobs Date: Sun, 4 Aug 2024 15:45:09 +0200 Subject: [PATCH] Fixed gradle build --- .github/workflows/gradle.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 94b5087..edf9be2 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,6 +15,7 @@ jobs: attestations: write steps: - uses: actions/checkout@v4 + - uses: gradle/actions/wrapper-validation@v4 - name: Set up JDK 17 uses: actions/setup-java@v4 with: @@ -23,10 +24,8 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - - name: Build with Gradle - run: gradle build - with: - gradle-version: '8.5' + - name: Build with Gradle wrapper + run: ./gradlew build - name: Rename jar run: mv $(find build/libs/ | grep -P "\d\.jar") constructarmory.jar