mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
feat: expand verify-release to macOS and Windows (#18145)
Co-authored-by: Yuna Seol <yunaseol@google.com>
This commit is contained in:
6
.github/workflows/verify-release.yml
vendored
6
.github/workflows/verify-release.yml
vendored
@@ -29,7 +29,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
verify-release:
|
verify-release:
|
||||||
environment: "${{ github.event.inputs.environment || 'prod' }}"
|
environment: "${{ github.event.inputs.environment || 'prod' }}"
|
||||||
runs-on: 'ubuntu-latest'
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
|
||||||
|
runs-on: '${{ matrix.os }}'
|
||||||
permissions:
|
permissions:
|
||||||
contents: 'read'
|
contents: 'read'
|
||||||
packages: 'write'
|
packages: 'write'
|
||||||
|
|||||||
@@ -456,7 +456,8 @@ export class TestRig {
|
|||||||
} {
|
} {
|
||||||
const isNpmReleaseTest =
|
const isNpmReleaseTest =
|
||||||
env['INTEGRATION_TEST_USE_INSTALLED_GEMINI'] === 'true';
|
env['INTEGRATION_TEST_USE_INSTALLED_GEMINI'] === 'true';
|
||||||
const command = isNpmReleaseTest ? 'gemini' : 'node';
|
const geminiCommand = os.platform() === 'win32' ? 'gemini.cmd' : 'gemini';
|
||||||
|
const command = isNpmReleaseTest ? geminiCommand : 'node';
|
||||||
const initialArgs = isNpmReleaseTest
|
const initialArgs = isNpmReleaseTest
|
||||||
? extraInitialArgs
|
? extraInitialArgs
|
||||||
: [BUNDLE_PATH, ...extraInitialArgs];
|
: [BUNDLE_PATH, ...extraInitialArgs];
|
||||||
|
|||||||
Reference in New Issue
Block a user