improvement: Add -arm64 suffix to Apple silicone binaries

This commit is contained in:
Artem Chepurnyi 2024-10-06 10:31:23 +03:00
parent b9789e3d23
commit 69cf1d6385
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ jobs:
name: binaries-mac
path: desktopApp/build/compose/binaries/main/**
retention-days: 1
- name: "Add a suffix to the artifacts"
run: |
cd desktopApp/build/compose/binaries/main/dmg
for f in * ; do mv -- "$f" "$(echo $f | sed -nE 's/^(.*)(\..*)$/\1-arm64\2/p')" ; done
- name: "Upload .dmg"
uses: actions/upload-artifact@v4
with: