This repository was archived by the owner on Aug 18, 2026. It is now read-only.
Release Candidate #29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Candidate | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| release-candidate: | |
| name: Build release candidate artifacts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run CI gate | |
| run: npm run ci | |
| - name: Run dogfood gate without authenticated real runs | |
| run: npm run dogfood | |
| - name: Create npm pack artifact and gate evidence without publishing | |
| id: pack | |
| run: | | |
| set -euo pipefail | |
| npm run release:candidate -- --out-dir release-candidate --real-compatibility-mode repo-only-skipped | |
| node -e "const fs = require('node:fs'); const data = JSON.parse(fs.readFileSync('release-candidate/npm-pack.json', 'utf8')); process.stdout.write('tarball=' + data[0].filename + '\n');" >> "$GITHUB_OUTPUT" | |
| - name: Upload tarball | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: agent-cli-runtime-tarball | |
| path: release-candidate/${{ steps.pack.outputs.tarball }} | |
| if-no-files-found: error | |
| retention-days: 14 | |
| - name: Upload pack metadata | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: agent-cli-runtime-pack-metadata | |
| path: release-candidate/npm-pack.json | |
| if-no-files-found: error | |
| retention-days: 14 | |
| - name: Upload package file list | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: agent-cli-runtime-package-files | |
| path: release-candidate/package-files.txt | |
| if-no-files-found: error | |
| retention-days: 14 | |
| - name: Upload daemon-ready gate evidence | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: agent-cli-runtime-gate-evidence | |
| path: release-candidate/gate-evidence.json | |
| if-no-files-found: error | |
| retention-days: 14 | |
| - name: Upload release verification | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: agent-cli-runtime-release-verification | |
| path: release-candidate/release-verification.json | |
| if-no-files-found: error | |
| retention-days: 14 |