chore: Add -mac/-intel suffixes to mac/intel binaries for Apple #118

This commit is contained in:
Artem Chepurnyi 2024-10-07 11:55:24 +03:00 committed by GitHub
parent eb36b853a7
commit 57134bd577
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,7 @@ jobs:
- 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
for f in * ; do mv -- "$f" "$(echo $f | sed -nE 's/^(.*)(\..*)$/\1-apple\2/p')" ; done
- name: "Upload .dmg"
uses: actions/upload-artifact@v4
with:
@ -129,6 +129,10 @@ jobs:
name: binaries-mac-intel
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-intel\2/p')" ; done
- name: 'Upload .dmg'
uses: actions/upload-artifact@v4
with: