Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
bundle_dir: src-tauri/target/release/bundle
- label: macOS Apple Silicon
os: macos-15
bundles: dmg
bundles: app,dmg
artifact_name: macos-aarch64
target: aarch64-apple-darwin
expected_arch: arm64
binary_path: src-tauri/target/aarch64-apple-darwin/release/azvault
bundle_dir: src-tauri/target/aarch64-apple-darwin/release/bundle
- label: macOS Intel
os: macos-15-intel
bundles: dmg
bundles: app,dmg
artifact_name: macos-x86_64
target: x86_64-apple-darwin
expected_arch: x86_64
Expand Down Expand Up @@ -178,6 +178,21 @@ jobs:
exit 1
fi

- name: Package macOS .app bundle
if: runner.os == 'macOS'
shell: bash
run: |
app_path="$(find "${{ matrix.bundle_dir }}/macos" -maxdepth 1 -type d -name '*.app' | head -n 1)"

if [ -z "$app_path" ]; then
echo "No .app bundle was produced under ${{ matrix.bundle_dir }}/macos."
exit 1
fi

echo "Zipping $app_path"
ditto -c -k --sequesterRsrc --keepParent "$app_path" \
"release-assets/AzVault-${{ matrix.artifact_name }}.app.zip"

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
6 changes: 5 additions & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
],
"macOS": {
"minimumSystemVersion": "10.15",
"frameworks": []
}
},
"plugins": {
"shell": {
Expand Down
Loading