Development #167

Merged
gronod merged 2 commits from development into main 2026-09-01 12:45:35 +01:00
+6 -5
View File
@@ -16,17 +16,17 @@ jobs:
matrix: matrix:
platform: platform:
- name: Intel - name: Intel
os: macos-15-intel os: macos-latest
target: x86_64-apple-darwin target: x86_64-apple-darwin
binary_dir: macos-x86_64 binary_dir: macos-x86_64
arch: x86_64 arch: x86_64
- name: Apple Silicon - name: Apple Silicon
os: macos-15 os: macos-latest
target: aarch64-apple-darwin target: aarch64-apple-darwin
binary_dir: macos-aarch64 binary_dir: macos-aarch64
arch: arm64 arch: arm64
- name: Universal (Intel + Apple Silicon) - name: Universal (Intel + Apple Silicon)
os: macos-15 os: macos-latest
target: universal-apple-darwin target: universal-apple-darwin
binary_dir: macos-universal binary_dir: macos-universal
arch: universal arch: universal
@@ -83,13 +83,13 @@ jobs:
mkdir -p release-assets mkdir -p release-assets
# Stage DMG package # Stage DMG package
DMG_FILE=$(find src-tauri/target -type f -name "*.dmg" | head -n 1) DMG_FILE=$(find src-tauri/target -type f -path "*/release/bundle/dmg/*.dmg" | head -n 1)
if [ -n "$DMG_FILE" ] && [ -f "$DMG_FILE" ]; then if [ -n "$DMG_FILE" ] && [ -f "$DMG_FILE" ]; then
cp "$DMG_FILE" "release-assets/${PREFIX}.dmg" cp "$DMG_FILE" "release-assets/${PREFIX}.dmg"
fi fi
# Stage ZIP archive of .app bundle # Stage ZIP archive of .app bundle
APP_DIR=$(find src-tauri/target -type d -name "*.app" | head -n 1) APP_DIR=$(find src-tauri/target -type d -path "*/release/bundle/macos/*.app" | head -n 1)
if [ -n "$APP_DIR" ] && [ -d "$APP_DIR" ]; then if [ -n "$APP_DIR" ] && [ -d "$APP_DIR" ]; then
APP_PARENT=$(dirname "$APP_DIR") APP_PARENT=$(dirname "$APP_DIR")
APP_NAME=$(basename "$APP_DIR") APP_NAME=$(basename "$APP_DIR")
@@ -108,3 +108,4 @@ jobs:
files: release-assets/* files: release-assets/*
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}