Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Update npm-publish-cli.yml

Adamb488411256be
diff --git a/.github/workflows/npm-publish-cli.yml b/.github/workflows/npm-publish-cli.yml
index 4a41a9ded3..57d1ca7cc4 100644
--- a/.github/workflows/npm-publish-cli.yml
+++ b/.github/workflows/npm-publish-cli.yml
@@ -4,9 +4,9 @@ on:
workflow_dispatch:
inputs:
version:
- description: "Version to publish (default: from package.json)"
+ description: 'Version to publish (default: from package.json)'
required: false
- default: ""
+ default: ''
jobs:
build-and-publish:
@@ -14,7 +14,7 @@ jobs:
id-token: write
contents: write
packages: write
-
+
strategy:
matrix:
include:
@@ -39,13 +39,6 @@ jobs:
with:
fetch-depth: 0
- - name: Setup Node.js
- uses: actions/setup-node@v4
- with:
- node-version: "20"
- cache: "bun"
- cache-dependency-path: "libs/typescript/cua-cli/bun.lockb"
-
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
@@ -88,14 +81,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v4
- with:
- node-version: "20"
- registry-url: "https://registry.npmjs.org"
- cache: "bun"
- cache-dependency-path: "libs/typescript/cua-cli/bun.lockb"
-
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
@@ -164,7 +149,7 @@ jobs:
```bash
# Using bun
bun add -g @trycua/cli
-
+
# Or using npm
npm install -g @trycua/cli
```
@@ -224,4 +209,4 @@ jobs:
asset_name: cua-windows-x64.exe
asset_content_type: application/octet-stream
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file