This is an automated email from the ASF dual-hosted git repository.
gaojun2048 pushed a commit to branch test_ci_1
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/test_ci_1 by this push:
new c7239d072 fix ci error when remove modules (#3403)
c7239d072 is described below
commit c7239d0726f5a65a043c1a9d9f3ac7b1a9d72685
Author: Eric <[email protected]>
AuthorDate: Sat Nov 12 08:46:09 2022 +0800
fix ci error when remove modules (#3403)
---
.github/workflows/backend.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 086bf6059..53d7f159c 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -216,6 +216,11 @@ jobs:
if [[ "zz"$delete_modules != "zz" ]];then
pl_modules=`python
tools/update_modules_check/update_modules_check.py rm $pl_modules
$delete_modules`
fi
+
+ if [[ "zz"$pl_modules == "zz" ]];then
+ exit 0
+ fi
+
./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout
-pl $pl_modules > /tmp/sub_module.txt
sub_modules=`python
tools/update_modules_check/update_modules_check.py sub /tmp/sub_module.txt`
tree_modules="$modules$sub_modules"
@@ -237,6 +242,11 @@ jobs:
if [[ "zz"$delete_modules != "zz" ]];then
pl_modules=`python
tools/update_modules_check/update_modules_check.py rm $pl_modules
$delete_modules`
fi
+
+ if [[ "zz"$pl_modules == "zz" ]];then
+ exit 0
+ fi
+
./mvnw help:evaluate -Dexpression=project.modules -q -DforceStdout
-pl $pl_modules > /tmp/sub_module.txt
sub_modules=`python
tools/update_modules_check/update_modules_check.py sub /tmp/sub_module.txt`
tree_modules="$modules$sub_modules"