Skip to content

Commit 306e44f

Browse files
committed
More build fixing
The setup-gradle plugin no longer supports running gradle with args, it just does initial setup. Per its deprecation update guide, Gradle builds must be done as a separate run step.
1 parent 767053b commit 306e44f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,16 @@ jobs:
3232

3333
- name: Setup Gradle
3434
uses: gradle/actions/setup-gradle@v6
35-
with:
36-
arguments: 'build --build-cache --daemon' # use the daemon here so the rest of the process is faster
3735
add-job-summary: 'never'
3836
gradle-home-cache-includes: |
3937
caches
4038
jdks
4139
notifications
4240
wrapper
4341
42+
- name: Gradle Build
43+
run: ./gradlew build --build-cache --daemon
44+
4445
- name: Upload Artifacts
4546
uses: actions/upload-artifact@v7
4647
with:

0 commit comments

Comments
 (0)