ci(release): build and attach unsigned macOS binaries to releases (#26462)

This commit is contained in:
ruomeng
2026-05-05 17:59:54 -04:00
committed by GitHub
parent 3627f4777f
commit e039fcdf2a
6 changed files with 89 additions and 5 deletions
@@ -2,6 +2,12 @@ name: 'Build Unsigned Mac Binaries'
on:
workflow_dispatch:
workflow_call:
inputs:
ref:
description: 'The branch, tag, or SHA to build from.'
required: true
type: 'string'
permissions:
contents: 'read'
@@ -22,6 +28,8 @@ jobs:
steps:
- name: 'Checkout'
uses: 'actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5' # ratchet:actions/checkout@v4
with:
ref: '${{ inputs.ref || github.ref }}'
- name: 'Set up Node.js'
uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # ratchet:actions/setup-node@v4
@@ -52,5 +60,5 @@ jobs:
uses: 'actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02' # ratchet:actions/upload-artifact@v4
with:
name: 'gemini-darwin-${{ matrix.arch }}-unsigned'
path: 'dist/darwin-${{ matrix.arch }}/'
retention-days: 5
path: 'dist/darwin-${{ matrix.arch }}/gemini'
retention-days: 14