From 558878f9dfbb4c9e7a2f3f34d9272bba1c53e0cd Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Sat, 16 May 2026 20:37:13 +0300 Subject: [PATCH] ci: build artifacts --- .github/workflows/publish.yml | 1 + package.json | 2 +- src-tauri/scripts/post-build-macos.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3868957..e5c40f1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -93,6 +93,7 @@ jobs: with: name: ${{ matrix.platform }} path: | + src-tauri/target/release/bundle/**/* src-tauri/target/*/release/bundle/**/* publish-flatpak: diff --git a/package.json b/package.json index 54a397e..b8ccd47 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "preview": "vite preview", "tauri": "tauri", "tauri:build": "tauri build && pnpm run post-build:macos", - "post-build:macos": "sh src-tauri/scripts/post-build-macos.sh", + "post-build:macos": "bash src-tauri/scripts/post-build-macos.sh", "flatpak": "flatpak-builder --user --install-deps-from=flathub --repo=emerald-repo --force-clean build-flatpak flatpak/io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher.yml && flatpak build-bundle emerald-repo emerald.flatpak io.github.Emerald_Legacy_Launcher.Emerald_Legacy_Launcher" }, "dependencies": { diff --git a/src-tauri/scripts/post-build-macos.sh b/src-tauri/scripts/post-build-macos.sh index e3a5d3d..02d995e 100755 --- a/src-tauri/scripts/post-build-macos.sh +++ b/src-tauri/scripts/post-build-macos.sh @@ -5,7 +5,7 @@ set -e -if [[ "$(uname)" != "Darwin" ]]; then +if [ "$(uname)" != "Darwin" ]; then echo "Not macOS, skipping post-build fixes" exit 0 fi