This is an automated email from the ASF dual-hosted git repository.
zhonghongsheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 64b336097f6 Simplify Operation E2E Maven cache (#37743)
64b336097f6 is described below
commit 64b336097f6dbf5b79b6773653a2260cba3d9355
Author: Hongsheng Zhong <[email protected]>
AuthorDate: Thu Jan 15 16:50:07 2026 +0800
Simplify Operation E2E Maven cache (#37743)
---
.github/workflows/e2e-operation.yml | 13 +------------
.github/workflows/nightly-e2e-operation.yml | 12 +-----------
2 files changed, 2 insertions(+), 23 deletions(-)
diff --git a/.github/workflows/e2e-operation.yml
b/.github/workflows/e2e-operation.yml
index 67edf70be45..a737540a06b 100644
--- a/.github/workflows/e2e-operation.yml
+++ b/.github/workflows/e2e-operation.yml
@@ -88,23 +88,12 @@ jobs:
- name: Checkout Project
if: (env.skip_current_step == 'false')
uses: actions/[email protected]
- - name: Retrieve Maven Caches
- if: (env.skip_current_step == 'false')
- uses: actions/[email protected]
- with:
- path: |
- ~/.m2/repository
- !~/.m2/repository/org/apache/shardingsphere
- ~/.m2/repository/org/apache/shardingsphere/elasticjob
- key: apache-shardingsphere-maven-third-party-e2e-cache-${{
github.sha }}
- restore-keys: |
- apache-shardingsphere-maven-third-party-e2e-cache-
- apache-shardingsphere-maven-third-party-
- if: (env.skip_current_step == 'false')
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 11
+ cache: 'maven'
- name: Build ${{ matrix.operation }} E2E Image
if: (env.skip_current_step == 'false')
run: ./mvnw -B clean install -am -pl test/e2e/operation/${{
matrix.operation }} -Pe2e.env.docker -DskipTests
diff --git a/.github/workflows/nightly-e2e-operation.yml
b/.github/workflows/nightly-e2e-operation.yml
index 311a1bc5857..f6c889d9045 100644
--- a/.github/workflows/nightly-e2e-operation.yml
+++ b/.github/workflows/nightly-e2e-operation.yml
@@ -67,22 +67,12 @@ jobs:
image: { type: "e2e.docker.database.opengauss.images", version:
"opengauss/opengauss:3.1.0" }
steps:
- uses: actions/[email protected]
- - name: Retrieve Maven Caches
- uses: actions/[email protected]
- with:
- path: |
- ~/.m2/repository
- !~/.m2/repository/org/apache/shardingsphere
- ~/.m2/repository/org/apache/shardingsphere/elasticjob
- key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX
}}-maven-third-party-e2e-cache-${{ github.sha }}
- restore-keys: |
- ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX
}}-maven-third-party-e2e-cache-
- ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX
}}-maven-third-party-
- name: Setup JDK ${{ matrix.java-version }}
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
+ cache: 'maven'
- name: Build ${{ matrix.operation }} E2E Image
run: ./mvnw -B clean install -am -pl test/e2e/operation/${{
matrix.operation }} -Pe2e.env.docker -DskipTests
- name: Run ${{ matrix.operation }} on ${{ matrix.image.version }}