Skip to content

Commit 1ec8c71

Browse files
authored
CI: Fix deploy workflow for multiarch macos (#1642)
1 parent 73b1dc1 commit 1ec8c71

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/deploy_release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ jobs:
9595

9696
- uses: actions/download-artifact@v4
9797
with:
98-
name: cemu-bin-macos-x64
99-
path: cemu-bin-macos-x64
98+
pattern: cemu-bin-macos*
99+
path: cemu-macos
100100

101101
- name: Initialize
102102
run: |
@@ -137,7 +137,12 @@ jobs:
137137
rm -r ./${{ env.CEMU_FOLDER_NAME }}
138138
139139
- name: Create release from macos-bin
140-
run: cp cemu-bin-macos-x64/Cemu.dmg upload/cemu-${{ env.CEMU_VERSION }}-macos-12-x64.dmg
140+
run: |
141+
cd cemu-macos
142+
for bin_dir in cemu-bin-macos-*; do
143+
arch="${bin_dir##cemu-bin-macos-}"
144+
cp $bin_dir/Cemu.dmg ../upload/cemu-${{ env.CEMU_VERSION }}-macos-12-$arch.dmg
145+
done
141146
142147
- name: Create release
143148
run: |

0 commit comments

Comments
 (0)