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/gradle-build-action action to v3 #1174

Merged
merged 1 commit into from
Jan 26, 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/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
Loading