diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 54b6f11..16817f6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,9 +23,11 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 + with: + cache-read-only: false - name: Build with Gradle - run: ./gradlew build + run: gradle build - name: Upload build artifacts uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6d28ef5..9a124d6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,11 +21,13 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 + with: + cache-disabled: true - name: Build with Gradle - run: ./gradlew build + run: gradle build - name: Upload to modrinth with Gradle - run: ./gradlew modrinth + run: gradle modrinth env: MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}