File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1111
1212 strategy :
1313 matrix :
14- os : [macos-13, ubuntu-latest, windows-latest]
14+ include :
15+ - os : macos-latest
16+ arch : x64
17+ - os : macos-latest
18+ arch : arm64
19+ - os : ubuntu-latest
20+ arch : x64
21+ - os : windows-latest
22+ arch : x64
1523
1624 steps :
1725 - name : Check out Git repository
4553 mac_certs : ${{ secrets.mac_certs }}
4654 mac_certs_password : ${{ secrets.mac_certs_psw }}
4755
56+ # Pass arch here
57+ args : --${{ matrix.arch }}
4858 env :
4959 # macOS notarization API key
5060 APPLE_ID : ${{ secrets.apple_id }}
6373
6474 - name : Upload artifacts for MacOS
6575 uses : actions/upload-artifact@v4
66- if : matrix.os == 'macos-13 '
76+ if : matrix.os == 'macos-latest '
6777 with :
68- name : macos-app.dmg
78+ name : macos-app-${{ matrix.arch }} .dmg
6979 path : ' dist/*.dmg'
7080 if-no-files-found : error
7181
You can’t perform that action at this time.
0 commit comments