From c90f229107737c7c19277262fd35b1891f47ce36 Mon Sep 17 00:00:00 2001 From: YanxuanLiu Date: Tue, 14 Nov 2023 13:29:06 +0800 Subject: [PATCH] add cache for testing Signed-off-by: YanxuanLiu --- .github/workflows/mvn-verify-check.yml | 42 +++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/mvn-verify-check.yml b/.github/workflows/mvn-verify-check.yml index e055725c077..e5ee206cc9b 100644 --- a/.github/workflows/mvn-verify-check.yml +++ b/.github/workflows/mvn-verify-check.yml @@ -173,13 +173,13 @@ jobs: env | grep JAVA java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH" - - name: Cache local Maven repository - uses: actions/cache@v3 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + # - name: Cache local Maven repository + # uses: actions/cache@v3 + # with: + # path: ~/.m2/repository + # key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }} + # restore-keys: | + # ${{ runner.os }}-maven- - name: package tests check run: | @@ -235,13 +235,13 @@ jobs: env | grep JAVA java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH" - - name: Cache local Maven repository - uses: actions/cache@v3 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + # - name: Cache local Maven repository + # uses: actions/cache@v3 + # with: + # path: ~/.m2/repository + # key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }} + # restore-keys: | + # ${{ runner.os }}-maven- - name: Build JDK run: | @@ -289,13 +289,13 @@ jobs: env | grep JAVA java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH" - - name: Cache local Maven repository - uses: actions/cache@v3 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + # - name: Cache local Maven repository + # uses: actions/cache@v3 + # with: + # path: ~/.m2/repository + # key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }} + # restore-keys: | + # ${{ runner.os }}-maven- - name: Install with Maven ${{ matrix.maven-version }} run: |