Skip to content

Commit 4b2010f

Browse files
committed
Fix Windows build: remove Icon\r and correct workflow paths
- Remove Icon\r (macOS folder-icon file) from git — its carriage-return filename causes Windows git to fail on checkout - Add Icon* to .gitignore so it stays untracked - Fix build-windows.yml: remove stack-desktop/ path prefixes that assumed a monorepo layout; the repo root is the app itself
1 parent b7d82b2 commit 4b2010f

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/build-windows.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,29 @@ jobs:
1717
with:
1818
node-version: 20
1919
cache: npm
20-
cache-dependency-path: stack-desktop/package-lock.json
2120

2221
- name: Install Rust stable
2322
uses: dtolnay/rust-toolchain@stable
2423

2524
- name: Cache Rust build
2625
uses: Swatinem/rust-cache@v2
2726
with:
28-
workspaces: stack-desktop/src-tauri -> target
27+
workspaces: src-tauri -> target
2928

3029
- name: Install frontend dependencies
31-
working-directory: stack-desktop
3230
run: npm install
3331

3432
- name: Build Tauri app
3533
uses: tauri-apps/tauri-action@v0
3634
env:
3735
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38-
with:
39-
projectPath: stack-desktop
4036

4137
- name: Upload installer artifacts
4238
uses: actions/upload-artifact@v4
4339
with:
4440
name: stack-windows-${{ github.sha }}
4541
path: |
46-
stack-desktop/src-tauri/target/release/bundle/msi/*.msi
47-
stack-desktop/src-tauri/target/release/bundle/nsis/*.exe
42+
src-tauri/target/release/bundle/msi/*.msi
43+
src-tauri/target/release/bundle/nsis/*.exe
4844
if-no-files-found: warn
4945
retention-days: 14

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ src-tauri/gen
1111

1212
# macOS
1313
.DS_Store
14+
Icon*
1415

1516
# Editor
1617
.vscode/*

Icon

Whitespace-only changes.

0 commit comments

Comments
 (0)