Add universal dmg for macOS in release job

This commit is contained in:
Samuel Bartík authored and GitHub committed 2024-11-24 18:58:03 +01:00
1 parent 9be02b6392
commit 7ef8e33669
1 file changed
+4
+4
View File
@@ -28,6 +28,9 @@ jobs:
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: Rust cache
uses: swatinem/rust-cache@v2
@@ -78,3 +81,4 @@ jobs:
releaseBody: "See the assets to download and install this version."
releaseDraft: true
prerelease: false
args: ${{ matrix.platform == 'macos-latest' && '--target universal-apple-darwin' || '' }}