Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Makes small adjustment to release.yml file to make the gradle cache it's own thing from the Setup Java.
  • Loading branch information
Bjorkan authored Oct 29, 2023
1 parent cc625ad commit 99b1869
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
with:
java-version: '17'
distribution: temurin
cache: gradle

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Validate Gradle Wrapper Integrity
uses: gradle/wrapper-validation-action@v1
Expand All @@ -28,4 +30,4 @@ jobs:
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
run: ./gradlew build publishMods
run: ./gradlew build publishMods

0 comments on commit 99b1869

Please sign in to comment.