feat(ci): add ability to publish packages to private github registry for testing (#10348)

This commit is contained in:
Shreya Keshive
2025-10-03 11:41:32 -04:00
committed by GitHub
parent d8570e4d64
commit 667ca6d241
3 changed files with 133 additions and 16 deletions

View File

@@ -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 }}'