Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[ensu] Prune release artifacts and add arm64 macOS dmg

Vishnu Mohandas09004a32ac45
diff --git a/.github/workflows/ensu-release.yml b/.github/workflows/ensu-release.yml
index 5731ec5033..8311a68fc2 100644
--- a/.github/workflows/ensu-release.yml
+++ b/.github/workflows/ensu-release.yml
@@ -23,12 +23,16 @@ jobs:
platform:
- os: ubuntu-22.04
rust-target: x86_64-unknown-linux-gnu
+ bundle-targets: appimage,deb
- os: macos-latest
rust-target: x86_64-apple-darwin
+ bundle-targets: app,dmg
- os: macos-latest
rust-target: aarch64-apple-darwin
+ bundle-targets: app,dmg
- os: windows-latest
rust-target: x86_64-pc-windows-msvc
+ bundle-targets: nsis
runs-on: ${{ matrix.platform.os }}
env:
@@ -217,7 +221,7 @@ jobs:
includeDebug: false
includeRelease: true
includeUpdaterJson: false
- args: ${{ matrix.platform.rust-target == 'aarch64-apple-darwin' && '--target aarch64-apple-darwin --bundles app' || matrix.platform.rust-target != 'x86_64-unknown-linux-gnu' && format('--target {0}', matrix.platform.rust-target) || '' }}
+ args: ${{ format('--target {0} --bundles {1}', matrix.platform.rust-target, matrix.platform.bundle-targets) }}
build-android:
runs-on: ubuntu-22.04