Skip to content

Commit cd7e819

Browse files
Update gradle/actions action to v4 (#454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jason Plumb <[email protected]>
1 parent 5cecd30 commit cd7e819

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ jobs:
3636
distribution: temurin
3737
java-version: 17
3838

39-
- name: Build
40-
uses: gradle/actions/setup-gradle@v3
39+
- name: Set up gradle
40+
uses: gradle/actions/setup-gradle@v4
4141
with:
42-
arguments: clean check shadowJar
4342
cache-read-only: ${{ github.event_name == 'pull_request' }}
43+
- name: Build
44+
run: ./gradlew clean check shadowJar
4445
env:
4546
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
4647

.github/workflows/codeql-daily.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
# see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433
2828
tools: latest
2929

30-
- uses: gradle/actions/setup-gradle@v3
31-
with:
32-
# skipping build cache is needed so that all modules will be analyzed
33-
arguments: assemble --no-build-cache
30+
- name: Set up gradle
31+
uses: gradle/actions/setup-gradle@v4
32+
- name: Assemble
33+
# skipping build cache is needed so that all modules will be analyzed
34+
run: ./gradlew assemble --no-build-cache
3435

3536
- name: Perform CodeQL analysis
3637
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)