You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2022/09/08 08:01:52 UTC
[incubator-kyuubi] branch master updated: [KYUUBI #3454] [CI] Check Kyuubi modules available only when `**/pom.xml` is changed
This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 8b82268dc [KYUUBI #3454] [CI] Check Kyuubi modules available only when `**/pom.xml` is changed
8b82268dc is described below
commit 8b82268dc1a5e9409c7dee16a24ec16a01002a48
Author: Fu Chen <cf...@gmail.com>
AuthorDate: Thu Sep 8 16:01:42 2022 +0800
[KYUUBI #3454] [CI] Check Kyuubi modules available only when `**/pom.xml` is changed
### _Why are the changes needed?_
Check Kyuubi modules available only when `**/pom.xml` is changed
https://github.com/marketplace/actions/paths-changes-filter#conditional-execution
### _How was this patch tested?_
Pass CI.
Closes #3454 from cfmcgrady/style-ci-followup.
Closes #3454
f849fbd8 [Fu Chen] check on pom change
Authored-by: Fu Chen <cf...@gmail.com>
Signed-off-by: Cheng Pan <ch...@apache.org>
---
.github/workflows/style.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 48f112b36..3768b00fa 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -38,6 +38,12 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - uses: dorny/paths-filter@v2
+ id: filter
+ with:
+ filters: |
+ is-pom-changed:
+ - '**/pom.xml'
- name: Setup JDK 8
uses: actions/setup-java@v2
with:
@@ -47,6 +53,7 @@ jobs:
check-latest: false
- name: Check kyuubi modules avaliable
id: modules-check
+ if: steps.filter.outputs.is-pom-changed == 'true'
run: build/mvn dependency:resolve -DincludeGroupIds="org.apache.kyuubi" -DincludeScope="compile" -DexcludeTransitive=true ${{ matrix.profiles }}
continue-on-error: true