Skip to content

Commit 42c8afe

Browse files
committed
update: add x64 for macos
1 parent 5687c0c commit 42c8afe

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

.github/workflows/build-desktop.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,15 @@ jobs:
3333
cd tools/agently_helper
3434
npm install
3535
36-
- name: Build embedded Python (Windows)
37-
if: runner.os == 'Windows'
38-
shell: powershell
39-
run: |
40-
.\tools\agently_helper\scripts\build_python_bundle.ps1
41-
42-
- name: Build embedded Python (macOS/Linux)
43-
if: runner.os != 'Windows'
44-
shell: bash
45-
run: |
46-
bash tools/agently_helper/scripts/build_python_bundle.sh
47-
4836
- name: Build installer
4937
shell: bash
5038
run: |
5139
cd tools/agently_helper
5240
if [ "${{ runner.os }}" = "Windows" ]; then
5341
npm run dist:win
5442
elif [ "${{ runner.os }}" = "macOS" ]; then
55-
npm run dist:mac
43+
npm run dist:mac -- --arm64
44+
npm run dist:mac -- --x64
5645
else
5746
npm run dist:linux
5847
fi
@@ -68,6 +57,20 @@ jobs:
6857
name: agently-helper-${{ runner.os }}
6958
path: tools/agently_helper/dist/**
7059

60+
- name: Upload macOS arm64
61+
if: runner.os == 'macOS'
62+
uses: actions/upload-artifact@v4
63+
with:
64+
name: agently-helper-macos-arm64
65+
path: tools/agently_helper/dist/**/*arm64*.dmg
66+
67+
- name: Upload macOS x64
68+
if: runner.os == 'macOS'
69+
uses: actions/upload-artifact@v4
70+
with:
71+
name: agently-helper-macos-x64
72+
path: tools/agently_helper/dist/**/*x64*.dmg
73+
7174
- name: Update latest build info
7275
if: runner.os == 'Linux'
7376
shell: bash

0 commit comments

Comments
 (0)