diff --git a/.github/actions/create-bwc-build/action.yaml b/.github/actions/create-bwc-build/action.yaml index fcfa612a7d..bfe64ff59b 100644 --- a/.github/actions/create-bwc-build/action.yaml +++ b/.github/actions/create-bwc-build/action.yaml @@ -35,6 +35,7 @@ runs: - name: Build uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: assemble -Dbuild.snapshot=false build-root-directory: ${{ inputs.plugin-branch }} diff --git a/.github/actions/run-bwc-suite/action.yaml b/.github/actions/run-bwc-suite/action.yaml index 4614872858..6771faddab 100644 --- a/.github/actions/run-bwc-suite/action.yaml +++ b/.github/actions/run-bwc-suite/action.yaml @@ -31,6 +31,7 @@ runs: - name: Run BWC tests uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: | bwcTestSuite -Dtests.security.manager=false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b0841bd11..28a0c4ebf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,7 @@ jobs: - name: Build and Test uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: | ${{ matrix.gradle_task }} -Dbuild.snapshot=false -x test diff --git a/.github/workflows/code-hygiene.yml b/.github/workflows/code-hygiene.yml index f078cb2b56..756ca0b9c3 100644 --- a/.github/workflows/code-hygiene.yml +++ b/.github/workflows/code-hygiene.yml @@ -26,6 +26,7 @@ jobs: - uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: spotlessCheck checkstyle: @@ -41,6 +42,7 @@ jobs: - uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: checkstyleMain checkstyleTest spotbugs: @@ -56,4 +58,5 @@ jobs: - uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: spotbugsMain diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index c281a7fbc4..14bd2eaa13 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -27,6 +27,7 @@ jobs: - name: Assemble target plugin uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: assemble - name: Create Setup Script @@ -53,4 +54,5 @@ jobs: - name: Run sanity tests uses: gradle/gradle-build-action@v2 with: + cache-disabled: true arguments: integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="opensearch" -Dhttps=true -Duser=admin -Dpassword=admin