Skip to content

Commit

Permalink
Merge pull request #8029 from odpi/dependabot/github_actions/gradle/g…
Browse files Browse the repository at this point in the history
…radle-build-action-3

Bump gradle/gradle-build-action from 2 to 3
  • Loading branch information
mandy-chessell authored Feb 1, 2024
2 parents 10a0f41 + f959191 commit e156d40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
queries: security-and-quality
ram: 4096
- name: Build
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
# codeQL requires a full before/after build to compare results. Caching can result in action failing
#cache-read-only: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/merge-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Build first - lombok & other pre-processing may be needed. safer...
- name: build and publish to maven central
if: ${{ github.ref == 'refs/heads/main'}}
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
cache-read-only: false
arguments: build publish
Expand All @@ -47,14 +47,14 @@ jobs:
# In other cases just build but don't publish
- name: build (no publish to maven central)
if: ${{ github.ref != 'refs/heads/main'}}
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
cache-read-only: false
arguments: build
# Now aggregate javadoc - main only
- name: build
if: ${{ github.ref == 'refs/heads/main'}}
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
cache-read-only: false
arguments: aggregateJavadoc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
# Only cache for main build
cache-read-only: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: build and publish to maven central
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3
with:
cache-read-only: false
arguments: build publish -Dorg.gradle.parallel=false -Dorg.gradle.caching=false
Expand Down

0 comments on commit e156d40

Please sign in to comment.