File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 env :
5858 RUNNER_OS : ${{ runner.os }}
5959 JAVA_HOME : ${{ env.JAVA_HOME }}
60-
6160
6261 - name : Copy JRE to static directory
6362 run : |
@@ -84,23 +83,14 @@ jobs:
8483 distribution : " temurin"
8584 cache : " maven"
8685
87- - name : Cache Yarn Dependencies
88- uses : actions/cache@v2
89- with :
90- path : |
91- ~/.cache/yarn
92- node_modules
93- key : {{ runner.os }}-yarn-{{ hashFiles('**/yarn.lock') }}
94-
9586 - name : Restore Yarn Cache
9687 uses : actions/cache@v2
9788 with :
9889 path : |
99- ~/.cache/yarn
100- node_modules
101- key : {{ runner.os }}-yarn-{{ hashFiles('**/yarn.lock') }}
90+ ./node_modules
91+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
10292 restore-keys : |
103- {{ runner.os }}-yarn-{{ runner.os }} -
93+ $ {{ runner.os }}-yarn-
10494
10595 - name : Build FE Static
10696 run : |
@@ -197,12 +187,3 @@ jobs:
197187 "title": "${{ matrix.os }}-test-打包完成通知",
198188 "text": "# ${{ matrix.os }}-test-打包完成通知\n \n ### 任务id:[${{ github.run_id }}](https://github.com/chat2db/Chat2DB/actions/runs/${{ github.run_id }})\n ### 下载地址:[https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/${{ matrix.os }}-Test${{ matrix.file_extension }}](https://oss.sqlgpt.cn/test/99.0.${{ github.run_id }}/${{ matrix.os }}-Test${{ matrix.file_extension }})"
199189 }
200-
201- - name : Save Yarn Cache
202- uses : actions/cache@v2
203- with :
204- path : |
205- ~/.cache/yarn
206- node_modules
207- key : {{ runner.os }}-yarn-{{ hashFiles('**/yarn.lock') }}
208- save-key : {{ runner.os }}-yarn-{{ hashFiles('**/yarn.lock') }}
You can’t perform that action at this time.
0 commit comments