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.

fix(ci): ensure create-release waits for publish to complete

[email protected]d239858f2012
diff --git a/.github/workflows/npm-publish-cli.yml b/.github/workflows/npm-publish-cli.yml
index 73cef71ac1..c1743267a1 100644
--- a/.github/workflows/npm-publish-cli.yml
+++ b/.github/workflows/npm-publish-cli.yml
@@ -108,7 +108,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
create-release:
- needs: prepare
+ needs: [prepare, publish-npm]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: ${{ needs.prepare.outputs.tag }}
diff --git a/.github/workflows/npm-publish-computer.yml b/.github/workflows/npm-publish-computer.yml
index 7aff565c3f..e7d5f85b36 100644
--- a/.github/workflows/npm-publish-computer.yml
+++ b/.github/workflows/npm-publish-computer.yml
@@ -60,7 +60,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
create-release:
- needs: prepare
+ needs: [prepare, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: ${{ needs.prepare.outputs.tag }}
diff --git a/.github/workflows/npm-publish-core.yml b/.github/workflows/npm-publish-core.yml
index f783401396..d23b38b16f 100644
--- a/.github/workflows/npm-publish-core.yml
+++ b/.github/workflows/npm-publish-core.yml
@@ -60,7 +60,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
create-release:
- needs: prepare
+ needs: [prepare, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: ${{ needs.prepare.outputs.tag }}
diff --git a/.github/workflows/pypi-publish-agent.yml b/.github/workflows/pypi-publish-agent.yml
index a577645edd..7e9efc29de 100644
--- a/.github/workflows/pypi-publish-agent.yml
+++ b/.github/workflows/pypi-publish-agent.yml
@@ -175,7 +175,7 @@ jobs:
echo "CORE_VERSION=${{ needs.prepare.outputs.core_version }}" >> $GITHUB_ENV
create-release:
- needs: prepare
+ needs: [prepare, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: "agent-v${{ needs.prepare.outputs.version }}"
diff --git a/.github/workflows/pypi-publish-computer-server.yml b/.github/workflows/pypi-publish-computer-server.yml
index 9c499321a2..c3e2cb46e8 100644
--- a/.github/workflows/pypi-publish-computer-server.yml
+++ b/.github/workflows/pypi-publish-computer-server.yml
@@ -80,7 +80,7 @@ jobs:
echo "COMPUTER_VERSION=${{ needs.prepare.outputs.version }}" >> $GITHUB_ENV
create-release:
- needs: prepare
+ needs: [prepare, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: "computer-server-v${{ needs.prepare.outputs.version }}"
diff --git a/.github/workflows/pypi-publish-computer.yml b/.github/workflows/pypi-publish-computer.yml
index a1f9dde7b9..3748ad6903 100644
--- a/.github/workflows/pypi-publish-computer.yml
+++ b/.github/workflows/pypi-publish-computer.yml
@@ -158,7 +158,7 @@ jobs:
echo "CORE_VERSION=${{ needs.prepare.outputs.core_version }}" >> $GITHUB_ENV
create-release:
- needs: prepare
+ needs: [prepare, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: "computer-v${{ needs.prepare.outputs.version }}"
diff --git a/.github/workflows/pypi-publish-core.yml b/.github/workflows/pypi-publish-core.yml
index d72fa87d94..bee3d045b5 100644
--- a/.github/workflows/pypi-publish-core.yml
+++ b/.github/workflows/pypi-publish-core.yml
@@ -63,7 +63,7 @@ jobs:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
create-release:
- needs: prepare
+ needs: [prepare, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: "core-v${{ needs.prepare.outputs.version }}"
diff --git a/.github/workflows/pypi-publish-mcp-server.yml b/.github/workflows/pypi-publish-mcp-server.yml
index 79f9d99faf..0448691936 100644
--- a/.github/workflows/pypi-publish-mcp-server.yml
+++ b/.github/workflows/pypi-publish-mcp-server.yml
@@ -157,7 +157,7 @@ jobs:
echo "COMPUTER_VERSION=${{ needs.prepare.outputs.computer_version }}" >> $GITHUB_ENV
create-release:
- needs: prepare
+ needs: [prepare, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: "mcp-server-v${{ needs.prepare.outputs.version }}"
diff --git a/.github/workflows/pypi-publish-som.yml b/.github/workflows/pypi-publish-som.yml
index 8d36cb7afe..2f95145d99 100644
--- a/.github/workflows/pypi-publish-som.yml
+++ b/.github/workflows/pypi-publish-som.yml
@@ -67,7 +67,7 @@ jobs:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
create-release:
- needs: determine-version
+ needs: [determine-version, publish]
uses: ./.github/workflows/github-release-reusable.yml
with:
tag_name: "som-v${{ needs.determine-version.outputs.version }}"