Skip to content

Commit 9eceb99

Browse files
ci: update gradle action to v4 to restore caching
1 parent c2d896e commit 9eceb99

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

gradle/action.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ inputs:
1212
description: 'max heap to allocate to gradle'
1313
required: true
1414
default: '6g'
15+
gradle-executable:
16+
description: 'gradle wrapper executable'
17+
required: true
18+
default: './gradlew'
1519
runs:
1620
using: "composite"
17-
steps:
18-
- uses: gradle/gradle-build-action@v2
19-
with:
20-
arguments: |
21+
steps:
22+
- name: Setup Gradle
23+
uses: gradle/actions/setup-gradle@v4
24+
- name: Execute Gradle Command
25+
shell: bash
26+
run: |
27+
${{ inputs.gradle-executable }}
2128
--info
2229
--max-workers=${{ inputs.max-workers }}
2330
-Dorg.gradle.jvmargs=-Xmx${{ inputs.max-heap }}

0 commit comments

Comments
 (0)