diff --git a/.github/workflows/auto-order.yml b/.github/workflows/auto-order.yml index ec7b9ff..15fd72d 100644 --- a/.github/workflows/auto-order.yml +++ b/.github/workflows/auto-order.yml @@ -17,6 +17,11 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 + - name: 设置缓存 + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - name: 执行点餐 env: MEI_CAN_USERNAME: ${{ secrets.USER_NAME }} diff --git a/pom.xml b/pom.xml index c97f548..4ad099f 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,6 @@ 4.0.11 - com.alibaba fastjson @@ -88,17 +87,9 @@ - mvnrepository - mvnrepository - http://www.mvnrepository.com/ - default - - true - - - false - + aliyun + ali yun + http://maven.aliyun.com/nexus/content/groups/public