Skip to content

Commit 4bb2f42

Browse files
committed
fix
1 parent b070903 commit 4bb2f42

2 files changed

Lines changed: 6 additions & 14 deletions

File tree

.github/actions/verify-release/action.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ runs:
2929
fetch-depth: 0
3030

3131
- name: 'Install from NPM'
32-
id: 'npm_install'
33-
shell: 'bash'
34-
run: |-
35-
npm install -g ${{ inputs.npm-package }}
32+
uses: 'nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08' # ratchet:nick-fields/retry@v3
33+
with:
34+
timeout_seconds: 90
35+
max_attempts: 5
36+
command: 'npm install -g ${{ inputs.npm-package }}'
3637

3738
# This provides a very basic smoke test for Gemini CLI
3839
- name: 'Run Gemini CLI'

.github/workflows/verify-release.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ on:
1212
required: true
1313
type: 'string'
1414
default: '@google/gemini-cli@latest'
15-
channel:
16-
description: 'The npm dist-tag to apply (e.g., preview, stable).'
17-
required: true
18-
type: 'choice'
19-
options:
20-
- 'stable'
21-
- 'preview'
22-
- 'nightly'
23-
- 'dev'
2415
ref:
2516
description: 'The branch, tag, or SHA to release from.'
2617
required: false
@@ -35,6 +26,6 @@ jobs:
3526
- name: 'Verify release'
3627
uses: './.github/actions/verify-release'
3728
with:
38-
npm-package: '${github.event.inputs.npm-package}@${github.event.inputs.channel}'
29+
npm-package: '${github.event.inputs.npm-package}'
3930
expected-version: '${github.event.inputs.version}'
4031
ref: '${github.event.inputs.ref}'

0 commit comments

Comments
 (0)