Skip to content

Commit 412dc3b

Browse files
Fix desktop artifact upload in release workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c87ea18 commit 412dc3b

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -110,30 +110,25 @@ jobs:
110110
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
111111
112112
- name: Build Tauri app
113+
id: tauri
113114
uses: tauri-apps/tauri-action@v0
114115
with:
115116
args: --target ${{ matrix.target }}
117+
includeUpdaterJson: false
116118

117-
- name: Upload macOS artifact (.dmg)
118-
if: runner.os == 'macOS'
119-
uses: actions/upload-artifact@v4
120-
with:
121-
name: ${{ matrix.artifact }}
122-
path: src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg
119+
- name: List bundle output
120+
shell: bash
121+
run: find src-tauri/target/${{ matrix.target }}/release/bundle -type f 2>/dev/null || echo "No bundle directory found"
123122

124-
- name: Upload Windows artifact (.msi)
125-
if: runner.os == 'Windows'
126-
uses: actions/upload-artifact@v4
127-
with:
128-
name: ${{ matrix.artifact }}
129-
path: src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi
130-
131-
- name: Upload Linux artifact (.deb + .AppImage)
132-
if: runner.os == 'Linux'
123+
- name: Upload desktop artifacts
133124
uses: actions/upload-artifact@v4
134125
with:
135126
name: ${{ matrix.artifact }}
136127
path: |
128+
src-tauri/target/${{ matrix.target }}/release/bundle/dmg/*.dmg
129+
src-tauri/target/${{ matrix.target }}/release/bundle/macos/*.app
130+
src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*.exe
131+
src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi
137132
src-tauri/target/${{ matrix.target }}/release/bundle/deb/*.deb
138133
src-tauri/target/${{ matrix.target }}/release/bundle/appimage/*.AppImage
139134

0 commit comments

Comments
 (0)