Merge pull request #436 from sambartik/macos-universal-dmg

Add universal dmg for macOS in release job
This commit is contained in:
Prayag Prajapati authored and GitHub committed 2024-11-25 18:06:13 +05:30
commit 95a180e968
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' || '' }}