Skip to content

Commit 250f724

Browse files
committed
Setup Gradle in publish.yml
1 parent 0b124cf commit 250f724

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ jobs:
2424
~/.gradle/caches
2525
~/.gradle/wrapper/
2626
key: ${{ runner.os }}-gradle
27-
- name: Grant execute permission for gradlew
28-
run: chmod +x gradlew
27+
- name: Setup Gradle
28+
uses: gradle/actions/setup-gradle@v3
29+
with:
30+
gradle-version: "wrapper"
2931
- name: Build JARs
3032
uses: Wandalen/wretry.action@master
3133
with:
32-
command: "gradlew chiseledBuild"
34+
command: "gradle chiseledBuild"
3335
attempt_limit: 3
3436
- name: Upload built JARs
3537
uses: "actions/[email protected]"

0 commit comments

Comments
 (0)