mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 20:40:15 -06:00
Fix duplicate extensions in cli workflow
This commit is contained in:
4
.github/workflows/npm-publish-cli.yml
vendored
4
.github/workflows/npm-publish-cli.yml
vendored
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user