File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,21 @@ permissions:
99 contents : write
1010
1111
12-
1312jobs :
1413 build :
1514 runs-on : ${{ matrix.os }}
1615 strategy :
1716 matrix :
18- os : [ubuntu-latest, windows-latest, macos-latest]
1917 include :
2018 - os : ubuntu-latest
2119 target : x86_64-unknown-linux-gnu
20+ release_name : ComputerUseAgent-linux
2221 - os : windows-latest
2322 target : x86_64-pc-windows-msvc
23+ release_name : ComputerUseAgent-windows
2424 - os : macos-latest
2525 target : x86_64-apple-darwin
26+ release_name : ComputerUseAgent-macos
2627
2728 steps :
2829 - uses : actions/checkout@v4
4344 echo "version=${LATEST_TAG}-${COMMIT_HASH}" >> $GITHUB_OUTPUT
4445
4546 - name : Build binary
46- run : deno compile --allow-all --target ${{ matrix.target }} --output ComputerUseAgent src/main.ts
47+ run : deno compile --allow-all --target ${{ matrix.target }} --output ${{ matrix.release_name }} src/main.ts
4748
4849 - name : Upload Release Asset
4950 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change @@ -16,10 +16,13 @@ jobs:
1616 include :
1717 - os : ubuntu-latest
1818 target : x86_64-unknown-linux-gnu
19+ release_name : ComputerUseAgent-linux
1920 - os : windows-latest
2021 target : x86_64-pc-windows-msvc
22+ release_name : ComputerUseAgent-windows
2123 - os : macos-latest
2224 target : x86_64-apple-darwin
25+ release_name : ComputerUseAgent-macos
2326
2427 steps :
2528 - uses : actions/checkout@v4
3033 deno-version : v2.x
3134
3235 - name : Build binary
33- run : deno compile --allow-all --target ${{ matrix.target }} --output ComputerUseAgent src/main.ts
36+ run : deno compile --allow-all --target ${{ matrix.target }} --output ${{ matrix.release_name }} src/main.ts
3437
3538 - name : Upload Release Asset
3639 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments