Skip to content

Commit

Permalink
Merge pull request #193 from usefulness/renovate/gradle-actions-4.x
Browse files Browse the repository at this point in the history
Update gradle/actions action to v4
  • Loading branch information
mateuszkwiecinski authored Aug 4, 2024
2 parents 556f905 + 2c3670d commit 85eec39
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
distribution: 'temurin'
java-version: 21

- uses: gradle/actions/wrapper-validation@v3
- uses: gradle/actions/wrapper-validation@v4

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
distribution: 'temurin'
java-version: 21

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew check
working-directory: sample
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
with:
version-to-resolve: ${{ matrix.agp }}

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: ${{ matrix.gradle }}

Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ jobs:
distribution: 'temurin'
java-version: 21

- name: Assemble
uses: gradle/actions/setup-gradle@v3
with:
arguments: assemble -m
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble -m

- id: dependency-diff
name: Generate dependency diff
Expand Down Expand Up @@ -90,10 +89,9 @@ jobs:
distribution: 'temurin'
java-version: 21

- name: Assemble
uses: gradle/actions/setup-gradle@v3
with:
arguments: assemble -m
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble -m

- id: dependency-diff
name: Generate dependency diff
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/diffuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
key: diffuse-${{ github.event.pull_request.base.sha }}-always-cache-miss
restore-keys: diffuse-${{ github.event.pull_request.base.sha }}

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble -PskipJarVersion

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
distribution: 'temurin'
java-version: 21

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4

- name: Unwrap GPG key
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
java-version: 21

- name: Build app with Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
distribution: 'temurin'
java-version: 21

- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble -PskipJarVersion

Expand Down

0 comments on commit 85eec39

Please sign in to comment.