Skip to content

Commit 9f9a622

Browse files
Fixed workflow
1 parent 6b701c9 commit 9f9a622

3 files changed

Lines changed: 31 additions & 9 deletions

File tree

.github/workflows/release.yml

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,11 @@ jobs:
7070
os_name: linux
7171
arch: x86_64
7272
bundles: appimage,deb,rpm
73-
artifact_name: linux-x86_64
7473
- runner: ubuntu-24.04-arm
7574
target: aarch64-unknown-linux-gnu
7675
os_name: linux
7776
arch: arm64
7877
bundles: appimage,deb,rpm
79-
artifact_name: linux-arm64
8078
- runner: macos-15-intel
8179
target: x86_64-apple-darwin
8280
os_name: macos
@@ -93,13 +91,13 @@ jobs:
9391
target: x86_64-pc-windows-msvc
9492
os_name: windows
9593
arch: x86_64
96-
bundles: msi
94+
bundles: nsis
9795
artifact_name: windows-x86_64
9896
- runner: windows-11-arm
9997
target: aarch64-pc-windows-msvc
10098
os_name: windows
10199
arch: arm64
102-
bundles: msi
100+
bundles: nsis
103101
artifact_name: windows-arm64
104102
runs-on: ${{ matrix.runner }}
105103
env:
@@ -190,7 +188,7 @@ jobs:
190188
cp "${bundle_dir}/dmg/"*.dmg "${stage_dir}/WriterMD_${VERSION}_${OS_NAME}_${ARCH}.dmg"
191189
;;
192190
windows)
193-
cp "${bundle_dir}/msi/"*.msi "${stage_dir}/WriterMD_${VERSION}_${OS_NAME}_${ARCH}.msi"
191+
cp "${bundle_dir}/nsis/"*.exe "${stage_dir}/WriterMD_${VERSION}_${OS_NAME}_${ARCH}.exe"
194192
;;
195193
*)
196194
echo "Unsupported OS ${OS_NAME}" >&2
@@ -201,10 +199,34 @@ jobs:
201199
- name: Upload staged artifacts
202200
uses: actions/upload-artifact@v4
203201
with:
204-
name: ${{ matrix.artifact_name }}
202+
name: ${{ matrix.os_name }}-${{ matrix.arch }}
205203
path: ci-dist/*
206204
if-no-files-found: error
207205

206+
- name: Upload Linux AppImage artifact
207+
if: matrix.os_name == 'linux'
208+
uses: actions/upload-artifact@v4
209+
with:
210+
name: linux-appimage-${{ matrix.arch }}
211+
path: ci-dist/*.AppImage
212+
if-no-files-found: error
213+
214+
- name: Upload Linux deb artifact
215+
if: matrix.os_name == 'linux'
216+
uses: actions/upload-artifact@v4
217+
with:
218+
name: linux-deb-${{ matrix.arch }}
219+
path: ci-dist/*.deb
220+
if-no-files-found: error
221+
222+
- name: Upload Linux rpm artifact
223+
if: matrix.os_name == 'linux'
224+
uses: actions/upload-artifact@v4
225+
with:
226+
name: linux-rpm-${{ matrix.arch }}
227+
path: ci-dist/*.rpm
228+
if-no-files-found: error
229+
208230
publish:
209231
needs:
210232
- prepare

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- AI UX direction: use a docked chat sidebar with explicit Chat and Edit modes instead of a hidden drawer-style panel.
2020
- Release direction: `src-tauri/icons/app-icon.png` is the source icon; regenerate the Tauri icon set from it with `cargo tauri icon` when the app icon changes.
2121
- Release direction: desktop release/version tags must be `v<src-tauri version>` and GitHub Releases are derived from `src-tauri/Cargo.toml`.
22-
- Release direction: publish Linux AppImage/DEB/RPM plus macOS DMG and Windows MSI for both `x86_64` and `arm64`.
22+
- Release direction: publish Linux AppImage/DEB/RPM plus macOS DMG and Windows NSIS installers for both `x86_64` and `arm64`.
2323
- Arch Linux packaging note: Tauri AppImage bundling may require an upstream `linuxdeploy-plugin-appimage` binary on `PATH` even when the `linuxdeploy-appimage` package is installed; prefer placing it in `~/.local/bin`.
2424
- Arch Linux packaging note: keep an in-repo helper to patch Tauri's cached AppImage tooling for `NO_STRIP` builds and the GTK `gdk-pixbuf` path mismatch.
2525
- Arch Linux packaging note: after local AppImage bundling, run the in-repo runtime patcher so the AppImage uses the host GTK/WebKit stack instead of the broken bundled GTK runtime.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ PATH="$HOME/.cargo/bin:$PATH" cargo tauri icon src-tauri/icons/app-icon.png --ou
6464
- Linux `arm64`: AppImage, `.deb`, `.rpm`
6565
- macOS `x86_64`: `.dmg`
6666
- macOS `arm64`: `.dmg`
67-
- Windows `x86_64`: `.msi`
68-
- Windows `arm64`: `.msi`
67+
- Windows `x86_64`: NSIS `.exe`
68+
- Windows `arm64`: NSIS `.exe`
6969

7070
### Arch Linux AppImage workaround
7171

0 commit comments

Comments
 (0)