Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gradle/actions action to v4 #193

Merged
merged 3 commits into from
Aug 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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