You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2021/03/02 02:40:02 UTC
[dubbo] branch master updated: fix spring-boot-starter ci,
try using dubbo revision (#7296)
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new e852258 fix spring-boot-starter ci, try using dubbo revision (#7296)
e852258 is described below
commit e85225832f24914c14f32279748e55ec6cc58668
Author: ken.lj <ke...@gmail.com>
AuthorDate: Tue Mar 2 10:39:41 2021 +0800
fix spring-boot-starter ci, try using dubbo revision (#7296)
---
.github/workflows/build-and-test.yml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 67c47b4..25d5859 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -42,6 +42,12 @@ jobs:
with:
path: ~/.m2/repository/org/apache/dubbo
key: ${{ runner.os }}-dubbo-snapshot-${{ github.sha }}
+ - name: "Calculate Dubbo Version"
+ id: dubbo-version
+ run: |
+ REVISION=`awk '/<revision>[^<]+<\/revision>/{gsub(/<revision>|<\/revision>/,"",$1);print $1;exit;}' ./dubbo/pom.xml`
+ echo "::set-output name=version::$REVISION"
+ echo "dubbo version: $REVISION"
- name: "Build Dubbo with Maven"
run: |
cd ./dubbo
@@ -49,13 +55,7 @@ jobs:
- name: "Build Dubbo Spring Boot with Maven"
run: |
cd ./dubbo-spring-boot-project
- ./mvnw --batch-mode --no-transfer-progress clean install -Dmaven.test.skip=true -Dmaven.test.skip.exec=true
- - name: "Calculate Dubbo Version"
- id: dubbo-version
- run: |
- REVISION=`awk '/<revision>[^<]+<\/revision>/{gsub(/<revision>|<\/revision>/,"",$1);print $1;exit;}' ./dubbo/pom.xml`
- echo "::set-output name=version::$REVISION"
- echo "dubbo version: $REVISION"
+ ./mvnw --batch-mode --no-transfer-progress clean install -Drevision=${{ steps.dubbo-version.outputs.version }} -Dmaven.test.skip=true -Dmaven.test.skip.exec=true
unit-test:
needs: [build-source]