@@ -117,66 +117,6 @@ jobs:
117117 name : lumis-dmg-arm64
118118 path : ./lumis/apps/web/src-tauri/target/release/bundle/dmg/${{ steps.dmg.outputs.path }}
119119
120- build-tauri-windows :
121- needs : get-version
122- if : needs.get-version.outputs.version != ''
123- runs-on : windows-latest
124- steps :
125- - name : Checkout release repo
126- uses : actions/checkout@v4
127-
128- - name : Clone lumis source code
129- run : |
130- git clone https://x-access-token:${{ secrets.LUMIS_TOKEN }}@github.com/${{ env.LUMIS_REPO }}.git lumis
131- cd lumis
132- git checkout ${{ needs.get-version.outputs.checkout_ref }}
133-
134- - name : Setup Node.js
135- uses : actions/setup-node@v4
136- with :
137- node-version : ${{ env.NODE_VERSION }}
138-
139- - name : Install pnpm
140- uses : pnpm/action-setup@v2
141- with :
142- version : 9
143-
144- - name : Add pnpm to PATH
145- run : |
146- echo "$HOME/.local/bin" >> $GITHUB_PATH
147- echo "PNPM_HOME=$HOME/.local" >> $GITHUB_ENV
148-
149- - name : Setup Rust
150- uses : dtolnay/rust-toolchain@stable
151- with :
152- toolchain : ${{ env.RUST_VERSION }}
153-
154- - name : Install dependencies
155- working-directory : ./lumis
156- run : pnpm install --frozen-lockfile
157-
158- - name : Create .env file
159- working-directory : ./lumis/apps/web
160- run : |
161- cp .env.example .env
162- # Remove POSTGRES_URL to skip database migration in CI
163- sed -i '' '/^POSTGRES_URL=/d' .env
164-
165- - name : Build Tauri app (Windows)
166- working-directory : ./lumis/apps/web
167- run : pnpm tauri:build
168-
169- - name : Find NSIS installer
170- id : nsis
171- working-directory : ./lumis/apps/web/src-tauri/target/release/bundle/nsis
172- run : echo "path=$(ls Lumis*setup.exe)" >> $GITHUB_OUTPUT
173-
174- - name : Upload Windows installer
175- uses : actions/upload-artifact@v4
176- with :
177- name : lumis-windows
178- path : ./lumis/apps/web/src-tauri/target/release/bundle/nsis/${{ steps.nsis.outputs.path }}
179-
180120 build-tauri-linux :
181121 needs : get-version
182122 if : needs.get-version.outputs.version != ''
@@ -247,7 +187,7 @@ jobs:
247187 path : ./lumis/apps/web/src-tauri/target/release/bundle/deb/${{ steps.deb.outputs.path }}
248188
249189 release :
250- needs : [get-version, build-tauri-macos, build-tauri-windows, build-tauri- linux]
190+ needs : [get-version, build-tauri-macos, build-tauri-linux]
251191 if : needs.get-version.outputs.version != ''
252192 runs-on : ubuntu-latest
253193 permissions :
@@ -277,7 +217,6 @@ jobs:
277217 draft : true
278218 files : |
279219 Lumis*.dmg
280- Lumis*setup.exe
281220 lumis*.deb
282221 env :
283222 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments