Skip to content

Commit f2f2ac9

Browse files
committed
fix: build common-utils before CLI compilation and add workflow_dispatch for CLI-only release
1 parent edb55b4 commit f2f2ac9

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: Release
22
on:
33
push:
44
branches: [main]
5+
workflow_dispatch:
6+
inputs:
7+
release_cli_only:
8+
description: 'Only release CLI binaries (skip Docker builds)'
9+
required: false
10+
type: boolean
11+
default: false
512
permissions:
613
contents: write
714
packages: write
@@ -426,7 +433,11 @@ jobs:
426433
release-cli:
427434
name: Release CLI Binaries
428435
needs: [check_changesets, check_version]
429-
if: needs.check_version.outputs.should_release == 'true'
436+
if: >-
437+
always() && (
438+
inputs.release_cli_only == true ||
439+
needs.check_version.outputs.should_release == 'true'
440+
)
430441
runs-on: ubuntu-24.04
431442
steps:
432443
- name: Checkout
@@ -443,6 +454,8 @@ jobs:
443454
bun-version: '1.3.11'
444455
- name: Install dependencies
445456
run: yarn install
457+
- name: Build common-utils
458+
run: make ci-build
446459
- name: Get CLI version
447460
id: cli_version
448461
run: |

0 commit comments

Comments
 (0)