File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,3 +278,30 @@ jobs:
278278 if : needs.check-docs-changes.outputs.docs_changed == 'true'
279279 uses : ./.github/workflows/docs-embeddings.yml
280280 secrets : inherit
281+
282+ # Create GitHub Release (only for version commits on main, after all builds complete)
283+ create-release :
284+ name : Create GitHub Release
285+ runs-on : blacksmith-4vcpu-ubuntu-2404
286+ needs : [create-ghcr-manifests, detect-version]
287+ if : needs.detect-version.outputs.is_release == 'true'
288+ permissions :
289+ contents : write
290+ steps :
291+ - name : Checkout code
292+ uses : actions/checkout@v4
293+ with :
294+ fetch-depth : 0
295+
296+ - name : Setup Bun
297+ uses : oven-sh/setup-bun@v2
298+ with :
299+ bun-version : latest
300+
301+ - name : Install dependencies
302+ run : bun install --frozen-lockfile
303+
304+ - name : Create release
305+ env :
306+ GH_PAT : ${{ secrets.GITHUB_TOKEN }}
307+ run : bun run scripts/create-single-release.ts ${{ needs.detect-version.outputs.version }}
You can’t perform that action at this time.
0 commit comments