File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181 uses : actions/setup-node@main
8282 with :
8383 node-version : " 16"
84- # cache: "yarn"
85- # cache-dependency-path: chat2db-client/yarn.lock
84+ cache : " yarn"
85+ cache-dependency-path : chat2db-client/yarn.lock
8686
8787 # 安装Java
8888 - name : Install Java and Maven
@@ -93,18 +93,17 @@ jobs:
9393 cache : " maven"
9494
9595 # 从缓存中拿去前端依赖
96- - name : Cache node modules
97- id : cache-npm
98- uses : actions/cache@v3
99- env :
100- cache-name : cache-node-modules
101- with :
102- path : ~/.npm
103- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
104- restore-keys : |
105- ${{ runner.os }}-build-${{ env.cache-name }}-
106- ${{ runner.os }}-build-
107- ${{ runner.os }}-
96+ # - name: Cache node modules
97+ # uses: actions/cache@v3
98+ # env:
99+ # cache-name: cache-node-modules
100+ # with:
101+ # path: ./node_modules
102+ # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
103+ # restore-keys: |
104+ # ${{ runner.os }}-build-${{ env.cache-name }}-
105+ # ${{ runner.os }}-build-
106+ # ${{ runner.os }}-
108107
109108 # 安装前端依赖
110109 - if : ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
You can’t perform that action at this time.
0 commit comments