From 040115daa12642e5544b5b95429ab99a6ae47145 Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Mon, 30 Aug 2021 15:36:48 +0800 Subject: [PATCH] Fix CI job `check-dependency-license` failure (#7601) --- .github/workflows/ci-it.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-it.yaml b/.github/workflows/ci-it.yaml index 943a1aa2b9..0b360b0adb 100644 --- a/.github/workflows/ci-it.yaml +++ b/.github/workflows/ci-it.yaml @@ -64,7 +64,7 @@ jobs: uses: actions/cache@v2 with: path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + key: ${{ runner.os }}-maven-ci-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-maven- - uses: actions/setup-java@v2 if: env.SKIP_CI != 'true' @@ -100,6 +100,13 @@ jobs: with: name: dist path: dist + - name: Cache local Maven repository + if: env.SKIP_CI != 'true' + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-ci-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-maven- - name: Check Dependencies Licenses if: env.SKIP_CI != 'true' run: tools/dependencies/check-LICENSE.sh -- GitLab