Fix duplicate extensions in cli workflow

This commit is contained in:
Dillon DuPont
2025-11-14 16:53:28 -05:00
parent 3d93a0a1e8
commit 84a8481e1e

View File

@@ -29,7 +29,7 @@ jobs:
binary_name: cua-darwin-arm64
- target: bun-windows-x64
ext: '.exe'
binary_name: cua-windows-x64.exe
binary_name: cua-windows-x64
runs-on: ubuntu-latest
@@ -61,7 +61,7 @@ jobs:
- name: Build binary
working-directory: ./libs/typescript/cua-cli
run: |
bun build --compile --minify --sourcemap --target=${{ matrix.target }} index.ts --outfile ${{ matrix.binary_name }}
bun build --compile --minify --sourcemap --target=${{ matrix.target }} index.ts --outfile ${{ matrix.binary_name }}${{ matrix.ext }}
mkdir -p ../../../dist
mv ${{ matrix.binary_name }}${{ matrix.ext }}* ../../../dist/