mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-17 08:41:19 -07:00
Fix dry run. (#10286)
This commit is contained in:
committed by
GitHub
parent
46c884de51
commit
a80cd28d4c
18
.github/actions/publish-release/action.yml
vendored
18
.github/actions/publish-release/action.yml
vendored
@@ -116,10 +116,11 @@ runs:
|
||||
NODE_AUTH_TOKEN: '${{ inputs.wombat-token-core }}'
|
||||
shell: 'bash'
|
||||
run: |
|
||||
npm publish \
|
||||
--dry-run="${{ inputs.dry-run }}" \
|
||||
--workspace="@google/gemini-cli-core" \
|
||||
--no-tag
|
||||
if [ "${{ inputs.dry-run }}" == "true" ]; then
|
||||
npm publish --dry-run --workspace="@google/gemini-cli-core" --no-tag
|
||||
else
|
||||
npm publish --workspace="@google/gemini-cli-core" --no-tag
|
||||
fi
|
||||
|
||||
- name: '🔗 Install latest core package'
|
||||
working-directory: '${{ inputs.working-directory }}'
|
||||
@@ -136,10 +137,11 @@ runs:
|
||||
NODE_AUTH_TOKEN: '${{ inputs.wombat-token-cli }}'
|
||||
shell: 'bash'
|
||||
run: |
|
||||
npm publish \
|
||||
--dry-run="${{ inputs.dry-run }}" \
|
||||
--workspace="@google/gemini-cli" \
|
||||
--no-tag
|
||||
if [ "${{ inputs.dry-run }}" == "true" ]; then
|
||||
npm publish --dry-run --workspace="@google/gemini-cli" --no-tag
|
||||
else
|
||||
npm publish --workspace="@google/gemini-cli" --no-tag
|
||||
fi
|
||||
|
||||
- name: '🔬 Verify NPM release by version'
|
||||
uses: './.github/actions/verify-release'
|
||||
|
||||
Reference in New Issue
Block a user