Skip to content

Commit 84017ff

Browse files
committed
chore(deps): update gradle wrapper actions
The validate action is no longer needed the setup-gradle v4 automatically validate the gradle wrapper.
1 parent 1f87e46 commit 84017ff

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build-java-service.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,11 @@ jobs:
3434
with:
3535
java-version: '21'
3636
distribution: 'zulu'
37-
- name: ✔️ Validate Gradle wrapper
38-
uses: gradle/wrapper-validation-action@v1
37+
- name: 🛠️ Setup gradle
38+
uses: gradle/actions/setup-gradle@v5
3939
- name: 🏗 Build with Gradle
40-
uses: gradle/actions/setup-gradle@v3
41-
with:
42-
arguments: build -Pversion=${{ inputs.version }} generateLicenseReport
43-
build-root-directory: services/${{ inputs.service_name }}
40+
run: ./gradlew build -Pversion=${{ inputs.version }} generateLicenseReport
41+
working-directory: services/${{ inputs.service_name }}
4442
- name: 📦 Upload JAR
4543
uses: actions/upload-artifact@v4
4644
with:

0 commit comments

Comments
 (0)