mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Release Promotion Clean up (#8597)
This commit is contained in:
8
.github/actions/publish-release/action.yml
vendored
8
.github/actions/publish-release/action.yml
vendored
@@ -64,7 +64,13 @@ runs:
|
||||
DRY_RUN: '${{ inputs.dry-run }}'
|
||||
RELEASE_TAG: '${{ inputs.release-tag }}'
|
||||
run: |-
|
||||
git add package.json npm-shrinkwrap.json packages/*/package.json
|
||||
git add package.json packages/*/package.json
|
||||
if [ -f npm-shrinkwrap.json ]; then
|
||||
git add npm-shrinkwrap.json
|
||||
fi
|
||||
if [ -f package-lock.json ]; then
|
||||
git add package-lock.json
|
||||
fi
|
||||
git commit -m "chore(release): ${RELEASE_TAG}"
|
||||
if [[ "${DRY_RUN}" == "false" ]]; then
|
||||
echo "Pushing release branch to remote..."
|
||||
|
||||
13
.github/actions/run-tests/action.yml
vendored
13
.github/actions/run-tests/action.yml
vendored
@@ -5,20 +5,27 @@ inputs:
|
||||
force_skip_tests:
|
||||
description: 'Whether to force skip the tests.'
|
||||
required: false
|
||||
default: 'false'
|
||||
type: 'boolean'
|
||||
default: false
|
||||
gemini_api_key:
|
||||
description: 'The API key for running integration tests.'
|
||||
required: true
|
||||
working-directory:
|
||||
description: 'The working directory to run the tests in.'
|
||||
required: false
|
||||
default: '.'
|
||||
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: 'Run Tests'
|
||||
if: "inputs.force_skip_tests != 'true'"
|
||||
if: '${{ !inputs.force_skip_tests }}'
|
||||
env:
|
||||
GEMINI_API_KEY: '${{ inputs.gemini_api_key }}'
|
||||
working-directory: '${{ inputs.working-directory }}'
|
||||
run: |-
|
||||
npm run preflight
|
||||
npm run build
|
||||
npm run test:ci
|
||||
npm run test:integration:sandbox:none
|
||||
npm run test:integration:sandbox:docker
|
||||
shell: 'bash'
|
||||
|
||||
Reference in New Issue
Block a user