Skip to content

Commit

Permalink
Update gradle/gradle-build-action action to v3 (#1174)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 26, 2024
1 parent 9e8a902 commit 5b0b51b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
java-version: 17

- name: Build
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: build -x test
cache-read-only: ${{ github.event_name == 'pull_request' }}
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
java-version: 17

- name: Build
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: >
test
Expand All @@ -84,7 +84,7 @@ jobs:
java-version: 17

- name: Integration test
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: integrationTest
cache-read-only: ${{ github.event_name == 'pull_request' }}
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
java-version: 17

- name: Build and publish snapshots
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
# skipping release branches because the versions in those branches are not snapshots
# (also this skips pull requests)
if: ${{ github.ref_name == 'main' && github.repository == 'open-telemetry/opentelemetry-java-contrib' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433
tools: latest

- uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v3
with:
# skipping build cache is needed so that all modules will be analyzed
arguments: assemble --no-build-cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
distribution: temurin
java-version: 17

- uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v3
name: Build
with:
arguments: build
Expand All @@ -37,7 +37,7 @@ jobs:
distribution: temurin
java-version: 17

- uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v3
name: Integration test
with:
arguments: integrationTest
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
java-version: 17

- name: Build and publish artifacts
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
arguments: assemble publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
Expand Down

0 comments on commit 5b0b51b

Please sign in to comment.