mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-05-21 17:54:30 +00:00
ci: build artifacts
This commit is contained in:
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
@@ -93,6 +93,7 @@ jobs:
|
||||
with:
|
||||
name: ${{ matrix.platform }}
|
||||
path: |
|
||||
src-tauri/target/release/bundle/**/*
|
||||
src-tauri/target/*/release/bundle/**/*
|
||||
|
||||
publish-flatpak:
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$(uname)" != "Darwin" ]]; then
|
||||
if [ "$(uname)" != "Darwin" ]; then
|
||||
echo "Not macOS, skipping post-build fixes"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user