Skip to content
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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
path: |
~/.m2/repository
!~/.m2/repository/org/apache/shardingsphere
~/.m2/repository/org/apache/shardingsphere/elasticjob
key: apache-shardingsphere-maven-third-party-${{ hashFiles('**/pom.xml') }}
restore-keys: |
apache-shardingsphere-maven-third-party-
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/e2e-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ jobs:
java-version: 21
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-
Expand Down Expand Up @@ -129,7 +132,10 @@ jobs:
java-version: 21
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
path: |
~/.m2/repository
!~/.m2/repository/org/apache/shardingsphere
~/.m2/repository/org/apache/shardingsphere/elasticjob
key: apache-shardingsphere-maven-third-party-${{ hashFiles('**/pom.xml') }}
restore-keys: |
apache-shardingsphere-maven-third-party-
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/e2e-operation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ jobs:
if: (env.skip_current_step == 'false')
uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/e2e-sql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-
Expand Down Expand Up @@ -117,7 +120,10 @@ jobs:
- uses: actions/checkout@v6.0.1
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
path: |
~/.m2/repository
!~/.m2/repository/org/apache/shardingsphere
~/.m2/repository/org/apache/shardingsphere/elasticjob
key: apache-shardingsphere-maven-third-party-e2e-cache-${{ github.sha }}
- uses: actions/setup-java@v5.1.0
with:
Expand Down
30 changes: 24 additions & 6 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ jobs:
steps:
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand Down Expand Up @@ -88,7 +91,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand Down Expand Up @@ -131,7 +137,10 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand Down Expand Up @@ -169,7 +178,10 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand All @@ -192,7 +204,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand Down Expand Up @@ -251,7 +266,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand Down
25 changes: 20 additions & 5 deletions .github/workflows/nightly-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
- uses: actions/checkout@v6.0.1
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand Down Expand Up @@ -98,7 +101,10 @@ jobs:
languages: java
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand Down Expand Up @@ -143,7 +149,10 @@ jobs:
- uses: actions/checkout@v6.0.1
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand All @@ -162,7 +171,10 @@ jobs:
- uses: actions/checkout@v6.0.1
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand Down Expand Up @@ -191,7 +203,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
path: |
~/.m2/repository
!~/.m2/repository/org/apache/shardingsphere
~/.m2/repository/org/apache/shardingsphere/elasticjob
key: shardingsphere-maven-third-party-e2e-cache-${{ github.sha }}
restore-keys: |
shardingsphere-maven-third-party-e2e-cache-
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ jobs:
java-version: ${{ matrix.java-version }}
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand Down Expand Up @@ -85,7 +88,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand Down Expand Up @@ -129,7 +135,10 @@ jobs:
native-image-job-reports: 'true'
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/nightly-e2e-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ jobs:
java-version: 21
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-
Expand Down Expand Up @@ -117,7 +120,10 @@ jobs:
java-version: 21
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
path: |
~/.m2/repository
!~/.m2/repository/org/apache/shardingsphere
~/.m2/repository/org/apache/shardingsphere/elasticjob
key: apache-shardingsphere-maven-third-party-${{ hashFiles('**/pom.xml') }}
restore-keys: |
apache-shardingsphere-maven-third-party-
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/nightly-e2e-operation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ jobs:
- name: Retrieve Maven Caches
uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/nightly-e2e-sql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ jobs:
java-version: 21
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-
Expand Down Expand Up @@ -107,7 +110,10 @@ jobs:
- uses: actions/checkout@v6.0.1
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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 }}
- uses: actions/setup-java@v5.1.0
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/nightly-sql-parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-cache-${{ github.sha }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-cache-
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/schedule-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ jobs:
restore-keys: ${{ runner.os }}-sonar
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('pom.xml','*/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand All @@ -75,7 +78,10 @@ jobs:
java-version: 11
- uses: actions/cache@v5.0.1
with:
path: ~/.m2/repository
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-${{ hashFiles('pom.xml','*/pom.xml') }}
restore-keys: |
${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
Expand Down