跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

release-platforms.yml

47 行 · 1.4 KB历史下载
1name: Build signed release platforms for local macOS assembly
2on:
3 workflow_dispatch:
4 inputs:
5 ref:
6 description: Exact versioned source commit SHA (same as the locally notarized macOS build)
7 required: true
8 type: string
9permissions:
10 contents: read
11concurrency:
12 group: cage-local-assembly-platforms
13 cancel-in-progress: false
14jobs:
15 validate:
16 if: github.repository == 'Lee-xeo/Claude-Cage' && github.ref == 'refs/heads/main'
17 runs-on: ubuntu-24.04
18 steps:
19 - name: Require an immutable build source
20 env:
21 BUILD_REF: ${{ inputs.ref }}
22 run: '[[ "$BUILD_REF" =~ ^[0-9a-f]{40}$ ]]'
23 - uses: actions/checkout@v4
24 with:
25 ref: ${{ inputs.ref }}
26 persist-credentials: false
27 - uses: actions/setup-node@v4
28 with:
29 node-version: 24
30 - run: node scripts/check-version.mjs
31 windows:
32 needs: validate
33 if: github.repository == 'Lee-xeo/Claude-Cage' && github.ref == 'refs/heads/main'
34 uses: ./.github/workflows/windows-build.yml
35 secrets: inherit
36 with:
37 ref: ${{ inputs.ref }}
38 release: true
39 artifact_name: release-windows
40 linux:
41 needs: validate
42 if: github.repository == 'Lee-xeo/Claude-Cage' && github.ref == 'refs/heads/main'
43 uses: ./.github/workflows/linux-build.yml
44 with:
45 ref: ${{ inputs.ref }}
46 release: true
47 artifact_name: release-linux