This is an automated email from the ASF dual-hosted git repository. jin pushed a commit to branch ci-path in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git
commit 1f1901b4eb9384190b487196ad543c167f9463bd Author: imbajin <[email protected]> AuthorDate: Wed May 25 16:30:51 2022 +0800 chore: update ci version & enhance runnable path --- .github/workflows/client-ci.yml | 10 +++++++--- .github/workflows/hubble-ci.yml | 14 +++++++++----- .github/workflows/loader-ci.yml | 10 +++++++--- .github/workflows/tools-ci.yml | 10 +++++++--- 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml index d954d09..1cb4e96 100644 --- a/.github/workflows/client-ci.yml +++ b/.github/workflows/client-ci.yml @@ -8,6 +8,8 @@ on: - /^test-.*$/ paths: - hugegraph-client/** + - hugegraph-dist/** + - .github/workflows - pom.xml pull_request: branches: @@ -16,6 +18,8 @@ on: - /^test-.*$/ paths: - hugegraph-client/** + - hugegraph-dist/** + - .github/workflows - pom.xml jobs: @@ -30,20 +34,20 @@ jobs: JAVA_VERSION: ['8'] steps: - name: Install JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.JAVA_VERSION }} distribution: 'zulu' - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 diff --git a/.github/workflows/hubble-ci.yml b/.github/workflows/hubble-ci.yml index ca570ce..dd82dca 100644 --- a/.github/workflows/hubble-ci.yml +++ b/.github/workflows/hubble-ci.yml @@ -9,6 +9,8 @@ on: - /^v[0-9]\..*$/ paths: - hugegraph-hubble/** + - hugegraph-dist/** + - .github/workflows - pom.xml pull_request: branches: @@ -18,6 +20,8 @@ on: - /^v[0-9]\..*$/ paths: - hugegraph-hubble/** + - hugegraph-dist/** + - .github/workflows - pom.xml env: @@ -29,14 +33,14 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Install JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '8' distribution: 'adopt' # we also should cache python & yarn & downloads to avoid useless work - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -48,7 +52,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Ceche Yarn packages - uses: actions/cache@v2 + uses: actions/cache@v3 # use id to check `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) id: yarn-cache with: @@ -58,7 +62,7 @@ jobs: ${{ runner.os }}-yarn- - name: Ceche Python packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} @@ -66,7 +70,7 @@ jobs: ${{ runner.os }}-pip- - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 diff --git a/.github/workflows/loader-ci.yml b/.github/workflows/loader-ci.yml index dcbc5a3..e3f2b8c 100644 --- a/.github/workflows/loader-ci.yml +++ b/.github/workflows/loader-ci.yml @@ -8,6 +8,8 @@ on: - /^test-.*$/ paths: - hugegraph-loader/** + - hugegraph-dist/** + - .github/workflows - pom.xml pull_request: branches: @@ -16,6 +18,8 @@ on: - /^test-.*$/ paths: - hugegraph-loader/** + - hugegraph-dist/** + - .github/workflows - pom.xml jobs: @@ -30,20 +34,20 @@ jobs: DB_DATABASE: load_test steps: - name: Install JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '8' distribution: 'zulu' - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 diff --git a/.github/workflows/tools-ci.yml b/.github/workflows/tools-ci.yml index e134753..d1b28da 100644 --- a/.github/workflows/tools-ci.yml +++ b/.github/workflows/tools-ci.yml @@ -7,6 +7,8 @@ on: - /^test-.*$/ paths: - hugegraph-tools/** + - hugegraph-dist/** + - .github/workflows - pom.xml pull_request: branches: @@ -15,6 +17,8 @@ on: - /^test-.*$/ paths: - hugegraph-tools/** + - hugegraph-dist/** + - .github/workflows - pom.xml jobs: @@ -25,18 +29,18 @@ jobs: COMMIT_ID: 1d031c5905cbef008dd5fb468576b0e6a9445181 steps: - name: Install JDK 8 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '8' distribution: 'zulu' - name: Cache Maven packages - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 - name: Compile
