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.

ci: add workflow_call/dispatch support to npm/computer publish workflow

[email protected]0feb795cde9d
diff --git a/.github/workflows/npm-publish-computer.yml b/.github/workflows/npm-publish-computer.yml
index 05952effd5..4368857c1f 100644
--- a/.github/workflows/npm-publish-computer.yml
+++ b/.github/workflows/npm-publish-computer.yml
@@ -3,6 +3,19 @@ name: Publish @trycua/computer to npm
on:
push:
branches: main
+ workflow_dispatch:
+ inputs:
+ version:
+ description: "Version to publish (default: from package.json)"
+ required: false
+ default: ""
+ workflow_call:
+ inputs:
+ version:
+ description: "Version to publish (default: from package.json)"
+ required: false
+ type: string
+ default: ""
jobs:
publish: