File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121 - name : Setup Rust
2222 uses : dtolnay/rust-toolchain@stable
23+ with :
24+ targets : aarch64-apple-darwin,x86_64-apple-darwin
2325
2426 - name : Rust cache
2527 uses : swatinem/rust-cache@v2
3941 with :
4042 tagName : v__VERSION__
4143 releaseName : ' Snipp v__VERSION__'
42- releaseBody : ' Download the DMG below to install Snipp on macOS.'
44+ releaseBody : |
45+ Download the DMG below to install Snipp on macOS (Intel + Apple Silicon).
46+
47+ **Note:** This app is not code-signed. After installing, run:
48+ ```
49+ xattr -cr /Applications/Snipp.app
50+ ```
4351 releaseDraft : true
4452 prerelease : false
53+ args : --target universal-apple-darwin
Original file line number Diff line number Diff line change 2020
2121 - name : Setup Rust
2222 uses : dtolnay/rust-toolchain@stable
23+ with :
24+ targets : aarch64-apple-darwin,x86_64-apple-darwin
2325
2426 - name : Rust cache
2527 uses : swatinem/rust-cache@v2
3234 - name : Build frontend
3335 run : npm run build
3436
35- - name : Build Tauri app
36- run : npm run tauri:build
37+ - name : Build Tauri app (universal)
38+ run : npm run tauri:build -- --target universal-apple-darwin
3739
3840 - name : Get short SHA
3941 id : sha
5153 **Warning: This is a nightly build, not a tagged release.**
5254
5355 Built from commit: ${{ github.sha }}
56+
57+ **macOS note:** This app is not code-signed. After installing, run:
58+ ```
59+ xattr -cr /Applications/Snipp.app
60+ ```
5461 files : |
55- src-tauri/target/release/bundle/dmg/*.dmg
62+ src-tauri/target/universal-apple-darwin/ release/bundle/dmg/*.dmg
5663 env :
5764 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments