Skip to content

Commit

Permalink
set default for needs-maven-cache to true
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai committed Dec 9, 2024
1 parent 41cb54e commit e09f4e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ on:

needs-maven-cache:
type: boolean
description: "Whether to restore Maven cache before run (default: no)"
default: false
description: "Whether to restore Maven cache before run (default: yes)"
default: true
required: false

needs-npm-cache:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ jobs:
uses: ./.github/workflows/check.yml
with:
java-version: ${{ needs.build-info.outputs.java-version }}
needs-maven-cache: true
needs-npm-cache: true
ratis-args: ${{ inputs.ratis_args }}
script: build
Expand Down Expand Up @@ -140,7 +139,6 @@ jobs:
uses: ./.github/workflows/check.yml
with:
java-version: ${{ matrix.java }}
needs-maven-cache: true
needs-ozone-source-tarball: true
ratis-args: ${{ inputs.ratis_args }}
runner: ${{ matrix.os }}
Expand Down Expand Up @@ -180,7 +178,6 @@ jobs:
secrets: inherit
with:
java-version: ${{ needs.build-info.outputs.java-version }}
needs-maven-cache: true
ratis-args: ${{ inputs.ratis_args }}
script: native
sha: ${{ needs.build-info.outputs.sha }}
Expand All @@ -196,7 +193,6 @@ jobs:
secrets: inherit
with:
java-version: ${{ needs.build-info.outputs.java-version }}
needs-maven-cache: true
needs-ozone-binary-tarball: true
script: dependency
sha: ${{ needs.build-info.outputs.sha }}
Expand All @@ -211,7 +207,6 @@ jobs:
secrets: inherit
with:
java-version: ${{ needs.build-info.outputs.java-version }}
needs-maven-cache: true
needs-ozone-repo: true
script: license
sha: ${{ needs.build-info.outputs.sha }}
Expand All @@ -225,7 +220,6 @@ jobs:
secrets: inherit
with:
java-version: ${{ needs.build-info.outputs.java-version }}
needs-maven-cache: true
needs-ozone-repo: true
ratis-args: ${{ inputs.ratis_args }}
script: repro
Expand All @@ -246,7 +240,6 @@ jobs:
uses: ./.github/workflows/check.yml
secrets: inherit
with:
needs-maven-cache: true
needs-ozone-binary-tarball: true
ratis-args: ${{ inputs.ratis_args }}
script: acceptance
Expand All @@ -271,7 +264,6 @@ jobs:
uses: ./.github/workflows/check.yml
secrets: inherit
with:
needs-maven-cache: true
needs-ozone-binary-tarball: true
ratis-args: ${{ inputs.ratis_args }}
script: kubernetes
Expand All @@ -288,7 +280,6 @@ jobs:
secrets: inherit
with:
java-version: ${{ needs.build-info.outputs.java-version }}
needs-maven-cache: true
ratis-args: ${{ inputs.ratis_args }}
script: integration
script-args: -Ptest-${{ matrix.profile }}
Expand Down

0 comments on commit e09f4e3

Please sign in to comment.