File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 java-version : " 17"
4343 distribution : " temurin"
4444 java-package : " jre"
45- architecture : ${{ matrix.arch == 'arm64' && 'aarch64' }}
45+ architecture : ${{ matrix.arch == 'arm64' && 'aarch64' || 'x64' }}
4646
4747 # 开放TLS
4848 - name : Enable TLS 1.0 and 1.1 in java.security
@@ -96,31 +96,11 @@ jobs:
9696 distribution : " temurin"
9797 cache : " maven"
9898
99- # 从缓存中拿去前端依赖
100- # - name: Cache node modules
101- # uses: actions/cache@v3
102- # env:
103- # cache-name: cache-node-modules
104- # with:
105- # path: ./node_modules
106- # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
107- # restore-keys: |
108- # ${{ runner.os }}-build-${{ env.cache-name }}-
109- # ${{ runner.os }}-build-
110- # ${{ runner.os }}-
111-
112- # 安装前端依赖
113- - if : ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
114- name : Yarn install
115- continue-on-error : true
116- run : |
117- cd chat2db-client
118- yarn install --frozen-lockfile
119-
12099 # 打包Web前端资源
121100 - name : Build FE Static
122101 run : |
123102 cd chat2db-client
103+ yarn install --frozen-lockfile
124104 yarn run build:web:prod --app_version=99.0.${{ github.run_id }} --app_port=10822
125105 cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front
126106 cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf/
You can’t perform that action at this time.
0 commit comments