@@ -19,45 +19,37 @@ jobs:
1919 - name : Set Up Node.js
2020 uses : actions/setup-node@v6
2121 with :
22- node-version : ' latest'
23-
24- - name : Enable Corepack
25- run : corepack enable
26-
27- - name : Cache Linux pnpm
28- if : matrix.os == 'ubuntu-latest'
29- uses : actions/cache@v5
30- with :
31- path : ~/.local/share/pnpm/store
32- key : pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
33- restore-keys : |
34- pnpm-${{ runner.os }}-
35-
36- - name : Cache Windows pnpm
37- if : matrix.os == 'windows-latest'
38- uses : actions/cache@v5
39- with :
40- path : D:\.pnpm-store
41- key : pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
42- restore-keys : |
43- pnpm-${{ runner.os }}-
22+ node-version : ' 24.10.0'
23+
24+ - name : Git SSH fix
25+ run : |
26+ git config --global url."https://github.com/".insteadOf git@github.com:
27+ git config --global url."https://".insteadOf git://
28+
29+ - name : Install pnpm
30+ uses : pnpm/action-setup@v6
31+ with :
32+ cache : true
4433
4534 - name : Install Dependencies
4635 run : pnpm install
4736
37+ - name : Build Web
38+ run : pnpm run build:web
39+
4840 - name : Build Electron App
49- run : pnpm run build:latest
41+ run : pnpm run build
5042
5143 - name : Upload Linux Artifacts
5244 if : matrix.os == 'ubuntu-latest'
5345 uses : actions/upload-artifact@v7
5446 with :
5547 name : linux-release-assets-${{ github.sha }}
56- path : release/*/ jm-desktop-Linux -*.zip
48+ path : release/make/zip/linux/x64/ jm-desktop-*.zip
5749
5850 - name : Upload Windows Artifacts
5951 if : matrix.os == 'windows-latest'
6052 uses : actions/upload-artifact@v7
6153 with :
6254 name : windows-release-assets-${{ github.sha }}
63- path : release/*/ jm-desktop-Windows -*.zip
55+ path : release/make/zip/win32/x64/ jm-desktop-*.zip
0 commit comments