File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ jobs:
1111 fail-fast : false
1212 matrix :
1313 include :
14- # - os: windows-latest
15- # file_extension: ".exe"
16- # - os: macos-latest
17- # arch: x86_64
18- # file_extension: ".dmg"
19- # - os: macos-latest
20- # arch: arm64
21- # file_extension: ".dmg"
14+ - os : windows-latest
15+ file_extension : " .exe"
16+ - os : macos-latest
17+ arch : x86_64
18+ file_extension : " .dmg"
19+ - os : macos-latest
20+ arch : arm64
21+ file_extension : " .dmg"
2222 - os : ubuntu-latest
2323 file_extension : " .AppImage"
2424 runs-on : ${{ matrix.os }}
@@ -75,23 +75,19 @@ jobs:
7575 - name : Cache Yarn dependencies
7676 uses : actions/cache@v3
7777 with :
78- path : |
79- .yarn/cache
80- .yarn/unplugged
81- .yarn/build-state.yml
82- .yarn/install-state.gz
78+ path : ' **/node_modules'
8379 key : yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
8480 restore-keys : |
8581 yarn-${{ runner.os }}-
86- yarn-
8782
8883 - name : Build FE Static
8984 run : |
9085 cd chat2db-client
91- yarn install
86+ yarn install --frozen-lockfile
9287 yarn run build:web:prod --app_version=99.0.${{ github.run_id }} --app_port=10822
9388 cp -r dist ../chat2db-server/chat2db-server-start/src/main/resources/static/front
9489 cp -r dist/index.html ../chat2db-server/chat2db-server-start/src/main/resources/thymeleaf/
90+
9591
9692 - name : Build BE Static
9793 run : |
@@ -108,6 +104,15 @@ jobs:
108104 cp -r dist ./versions/99.0.${{ github.run_id }}/
109105 rm -r dist
110106
107+ # Linux
108+ - name : Delete File
109+ if : ${{ runner.os == 'Linux' }}
110+ run : |
111+ cd chat2db-client/static/jre/
112+ ls -la
113+ rm -rf legal
114+ ls -la
115+
111116 - name : Build/release Electron app
112117 uses : samuelmeuli/action-electron-builder@v1
113118 with :
You can’t perform that action at this time.
0 commit comments