Skip to content

Commit 3363fc7

Browse files
authored
chore(build): update build-dev.yml
1 parent 3a3a6e5 commit 3363fc7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/build-dev.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@ jobs:
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
@@ -45,6 +53,8 @@ jobs:
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 }}
@@ -63,9 +73,9 @@ jobs:
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

0 commit comments

Comments
 (0)