ci: build artifacts

This commit is contained in:
neoapps-dev
2026-05-16 20:37:13 +03:00
parent be910f2334
commit 558878f9df
3 changed files with 3 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ jobs:
with:
name: ${{ matrix.platform }}
path: |
src-tauri/target/release/bundle/**/*
src-tauri/target/*/release/bundle/**/*
publish-flatpak:

View File

@@ -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": {

View File

@@ -5,7 +5,7 @@
set -e
if [[ "$(uname)" != "Darwin" ]]; then
if [ "$(uname)" != "Darwin" ]; then
echo "Not macOS, skipping post-build fixes"
exit 0
fi