Skip to content

Commit f073c2e

Browse files
committed
fix github workflows
1 parent 56b604b commit f073c2e

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
with:
1111
distribution: adopt
1212
java-version: 21
13-
- uses: gradle/gradle-build-action@v2
13+
- uses: gradle/actions/setup-gradle@v4
1414
with:
15-
gradle-version: 8.10.2
16-
arguments: build
17-
cache-read-only: ${{ github.repository_owner != 'triphora' }}
15+
gradle-version: current
16+
- run: gradle build

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ jobs:
2828
with:
2929
distribution: adopt
3030
java-version: 21
31-
- uses: gradle/gradle-build-action@v2
31+
- uses: gradle/actions/setup-gradle@v4
3232
with:
33-
gradle-version: 8.10.2
34-
arguments: fabric:modrinth
35-
cache-read-only: ${{ github.repository_owner != 'triphora' }}
33+
gradle-version: current
34+
- run: "gradle fabric:modrinth"
3635
env:
3736
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
3837
VERSION_NAME: ${{ inputs.version_name }}

0 commit comments

Comments
 (0)