From 1ec8c713b45f5e4e88a1e6a65c59a2ec1e42afe6 Mon Sep 17 00:00:00 2001 From: ZoweZilsio Date: Sun, 20 Jul 2025 21:14:11 +0000 Subject: [PATCH] CI: Fix deploy workflow for multiarch macos (#1642) --- .github/workflows/deploy_release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 2b9ee491..df8e186d 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -95,8 +95,8 @@ jobs: - uses: actions/download-artifact@v4 with: - name: cemu-bin-macos-x64 - path: cemu-bin-macos-x64 + pattern: cemu-bin-macos* + path: cemu-macos - name: Initialize run: | @@ -137,7 +137,12 @@ jobs: rm -r ./${{ env.CEMU_FOLDER_NAME }} - name: Create release from macos-bin - run: cp cemu-bin-macos-x64/Cemu.dmg upload/cemu-${{ env.CEMU_VERSION }}-macos-12-x64.dmg + run: | + cd cemu-macos + for bin_dir in cemu-bin-macos-*; do + arch="${bin_dir##cemu-bin-macos-}" + cp $bin_dir/Cemu.dmg ../upload/cemu-${{ env.CEMU_VERSION }}-macos-12-$arch.dmg + done - name: Create release run: |