The best way to control Claude Code, Codex and more from any computer or phone
Optimize release workflow job execution (#2430)
Co-authored-by: Julius Marminge <julius@macmini.local>
Julius Marminge committed
Apr 30, 2026 at 20:08 UTC
e5c7ac5a8cccc7d7679a7a63504d4af9a2969edc
1 file changed
+12
-9
.github/workflows/release.yml
+12
-9
@@ -30,7 +30,7 @@ jobs:
30
check_changes:
31
name: Check for changes since last nightly
32
if: github.event_name == 'schedule'
33
- runs-on: ubuntu-24.04
33
+ runs-on: blacksmith-8vcpu-ubuntu-2404
34
outputs:
35
has_changes: ${{ steps.check.outputs.has_changes }}
36
steps:
@@ -376,13 +376,16 @@ jobs:
376
registry-url: https://registry.npmjs.org
377
378
- name: Install dependencies
379
- run: bun install --frozen-lockfile
379
+ run: bun install --frozen-lockfile --filter=t3 --filter=@t3tools/web --filter=@t3tools/scripts
380
381
- name: Align package versions to release version
382
run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"
383
384
+ - name: Build web package
385
+ run: bun --filter=@t3tools/web run build
386
+
387
- name: Build CLI package
385
- run: bun run build --filter=@t3tools/web --filter=t3
388
+ run: bun --filter=t3 run build
389
390
- name: Publish CLI package
391
run: node apps/server/scripts/cli.ts publish --tag "${{ needs.preflight.outputs.cli_dist_tag }}" --app-version "${{ needs.preflight.outputs.version }}" --verbose
@@ -391,7 +394,7 @@ jobs:
394
name: Publish GitHub Release
395
needs: [preflight, build, publish_cli]
396
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' && needs.publish_cli.result == 'success' }}
394
- runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404
397
+ runs-on: blacksmith-8vcpu-ubuntu-2404
398
timeout-minutes: 10
399
steps:
400
- id: app_token
@@ -418,7 +421,7 @@ jobs:
421
node-version-file: package.json
422
423
- name: Install dependencies
421
- run: bun install --frozen-lockfile
424
+ run: bun install --frozen-lockfile --filter=@t3tools/scripts
425
426
- name: Download all desktop artifacts
427
uses: actions/download-artifact@v8
@@ -552,7 +555,7 @@ jobs:
555
node-version-file: package.json
556
557
- name: Install dependencies
555
- run: bun install --frozen-lockfile
558
+ run: bun install --frozen-lockfile --filter=@t3tools/scripts
559
560
- id: update_versions
561
name: Update version strings
@@ -562,7 +565,7 @@ jobs:
565
566
- name: Format package.json files
567
if: steps.update_versions.outputs.changed == 'true'
565
- run: bunx oxfmt apps/server/package.json apps/desktop/package.json apps/web/package.json packages/contracts/package.json
568
+ run: bunx oxfmt@0.40.0 apps/server/package.json apps/desktop/package.json apps/web/package.json packages/contracts/package.json
569
570
- name: Refresh lockfile
571
if: steps.update_versions.outputs.changed == 'true'
@@ -594,7 +597,7 @@ jobs:
597
needs.release.result == 'success' &&
598
(needs.finalize.result == 'success' || needs.finalize.result == 'skipped')
599
needs: [preflight, release, finalize]
597
- runs-on: ubuntu-24.04
600
+ runs-on: blacksmith-8vcpu-ubuntu-2404
601
timeout-minutes: 10
602
steps:
603
- name: Checkout
@@ -613,7 +616,7 @@ jobs:
616
node-version-file: package.json
617
618
- name: Install dependencies
616
- run: bun install --frozen-lockfile
619
+ run: bun install --frozen-lockfile --filter=@t3tools/scripts
620
621
- name: Announce prerelease on Discord
622
if: needs.preflight.outputs.is_prerelease == 'true'