mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
feat(ci): add ability to publish packages to private github registry for testing (#10348)
This commit is contained in:
13
.github/workflows/release-manual.yml
vendored
13
.github/workflows/release-manual.yml
vendored
@@ -11,8 +11,16 @@ on:
|
||||
description: 'The branch, tag, or SHA to release from.'
|
||||
required: true
|
||||
type: 'string'
|
||||
registry:
|
||||
description: 'The registry to publish to.'
|
||||
required: true
|
||||
type: 'choice'
|
||||
options:
|
||||
- 'npm-wombat'
|
||||
- 'github'
|
||||
default: 'npm-wombat'
|
||||
npm_channel:
|
||||
description: 'The npm channel to publish to.'
|
||||
description: 'The npm channel to publish to (only used when registry is npm-wombat)'
|
||||
required: true
|
||||
type: 'choice'
|
||||
options:
|
||||
@@ -32,7 +40,7 @@ on:
|
||||
type: 'boolean'
|
||||
default: false
|
||||
skip_github_release:
|
||||
description: 'Select to skip creating a GitHub release and create a npm release only.'
|
||||
description: 'Select to skip creating a GitHub release (only used when registry is npm-wombat)'
|
||||
required: false
|
||||
type: 'boolean'
|
||||
default: false
|
||||
@@ -100,6 +108,7 @@ jobs:
|
||||
skip-github-release: '${{ github.event.inputs.skip_github_release }}'
|
||||
working-directory: './release'
|
||||
gemini_api_key: '${{ secrets.GEMINI_API_KEY }}'
|
||||
registry: '${{ github.event.inputs.registry }}'
|
||||
|
||||
- name: 'Create Issue on Failure'
|
||||
if: '${{ failure() && github.event.inputs.dry_run == false }}'
|
||||
|
||||
Reference in New Issue
Block a user