Formatting Fix

This commit is contained in:
Adam
2025-11-14 16:44:50 -05:00
parent b7a655f192
commit 601ebde4a9
2 changed files with 21 additions and 19 deletions

View File

@@ -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,30 +14,30 @@ jobs:
id-token: write
contents: write
packages: write
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
target: bun-linux-x64
ext: ''
ext: ""
binary_name: cua-linux-x64
- os: macos-latest
target: bun-darwin-x64
ext: ''
ext: ""
binary_name: cua-darwin-x64
- os: macos-latest
target: bun-darwin-arm64
ext: ''
ext: ""
binary_name: cua-darwin-arm64
- os: windows-latest
target: bun-windows-x64
ext: '.exe'
ext: ".exe"
binary_name: cua-windows-x64.exe
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -47,9 +47,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'bun'
cache-dependency-path: 'libs/typescript/cua-cli/bun.lockb'
node-version: "20"
cache: "bun"
cache-dependency-path: "libs/typescript/cua-cli/bun.lockb"
- name: Setup Bun
uses: oven-sh/setup-bun@v2
@@ -96,10 +96,10 @@ jobs:
- 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'
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
@@ -144,7 +144,7 @@ jobs:
```bash
# For Linux/macOS
curl -fsSL https://cua.ai/install.sh | sh
# For Windows (PowerShell)
irm https://cua.ai/install.ps1 | iex
```
@@ -153,7 +153,7 @@ jobs:
```bash
# Using bun
bun add -g @trycua/cli
# Or using npm
npm install -g @trycua/cli
```

View File

@@ -395,6 +395,7 @@ To release a new version of the CUA CLI, follow these steps:
5. Click "Run workflow"
The workflow will:
- Build single-file executables for all supported platforms
- Publish the package to npm
- Create a GitHub release with the version tag (format: `cua-vX.Y.Z`)
@@ -409,7 +410,7 @@ The workflow will:
```bash
# Test Linux/macOS installation
curl -fsSL https://cua.ai/install.sh | sh
# Test Windows installation (PowerShell)
irm https://cua.ai/install.ps1 | iex
```
@@ -417,6 +418,7 @@ The workflow will:
### 4. Update Documentation
Update any relevant documentation with the new version number, including:
- Example code in documentation
- Any version-specific instructions
- Compatibility matrices