You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/04/05 10:52:11 UTC
[shardingsphere] branch master updated: [CI] Resolve maven dependencies version range before mvn install to speedup spring downloading (#16604)
This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 4cd5721ba33 [CI] Resolve maven dependencies version range before mvn install to speedup spring downloading (#16604)
4cd5721ba33 is described below
commit 4cd5721ba3396797a76b3a7d1b0769ac362f1642
Author: Hongsheng Zhong <sa...@126.com>
AuthorDate: Tue Apr 5 18:52:04 2022 +0800
[CI] Resolve maven dependencies version range before mvn install to speedup spring downloading (#16604)
* [CI] Resolve maven dependencies version range before mvn install to speedup spring downloading
* Add includes
---
.github/workflows/ci.yml | 8 ++++++--
.github/workflows/it.yml | 6 +++++-
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 860071358e7..55762fe1c86 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -110,6 +110,9 @@ jobs:
maven_args: "-Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true"
}
steps:
+ - uses: actions/checkout@v2
+ - name: Maven resolve ranges
+ run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
- name: Cache Maven Repos
uses: actions/cache@v2
with:
@@ -117,7 +120,6 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- - uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java.version }}
uses: actions/setup-java@v2
with:
@@ -165,6 +167,9 @@ jobs:
name: shardingsphere example generator
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v2
+ - name: Maven resolve ranges
+ run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
- name: Cache Maven Repos
uses: actions/cache@v2
with:
@@ -172,7 +177,6 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- - uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
diff --git a/.github/workflows/it.yml b/.github/workflows/it.yml
index e50e71ddd2f..b223d4d6802 100644
--- a/.github/workflows/it.yml
+++ b/.github/workflows/it.yml
@@ -63,6 +63,8 @@ jobs:
timeout-minutes: 20
steps:
- uses: actions/checkout@v2
+ - name: Maven resolve ranges
+ run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
- name: Cache Maven Repos
uses: actions/cache@v2
with:
@@ -194,6 +196,9 @@ jobs:
name: Agent Metrics & OpenTelemetry
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v2
+ - name: Maven resolve ranges
+ run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
- name: Cache Maven Repos
uses: actions/cache@v2
with:
@@ -201,7 +206,6 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- - uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with: