mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-01 00:40:42 -07:00
better messaging (#8794)
This commit is contained in:
13
.github/workflows/release-patch-1-create-pr.yml
vendored
13
.github/workflows/release-patch-1-create-pr.yml
vendored
@@ -71,9 +71,15 @@ jobs:
|
||||
GH_TOKEN: '${{ steps.generate_token.outputs.token }}'
|
||||
continue-on-error: true
|
||||
run: |
|
||||
node scripts/releasing/create-patch-pr.js --commit=${{ github.event.inputs.commit }} --channel=${{ github.event.inputs.channel }} --dry-run=${{ github.event.inputs.dry_run }} > patch_output.log 2>&1
|
||||
echo "EXIT_CODE=$?" >> "$GITHUB_OUTPUT"
|
||||
cat patch_output.log
|
||||
# Capture output directly to environment variable
|
||||
{
|
||||
node scripts/releasing/create-patch-pr.js --commit=${{ github.event.inputs.commit }} --channel=${{ github.event.inputs.channel }} --dry-run=${{ github.event.inputs.dry_run }}
|
||||
echo "EXIT_CODE=$?" >> "$GITHUB_OUTPUT"
|
||||
} 2>&1 | {
|
||||
echo "LOG_CONTENT<<EOF" >> "$GITHUB_ENV"
|
||||
cat >> "$GITHUB_ENV"
|
||||
echo "EOF" >> "$GITHUB_ENV"
|
||||
}
|
||||
|
||||
- name: 'Comment on Original PR'
|
||||
if: '!inputs.dry_run && inputs.original_pr'
|
||||
@@ -81,7 +87,6 @@ jobs:
|
||||
GH_TOKEN: '${{ steps.generate_token.outputs.token }}'
|
||||
ORIGINAL_PR: '${{ github.event.inputs.original_pr }}'
|
||||
EXIT_CODE: '${{ steps.create_patch.outputs.EXIT_CODE }}'
|
||||
OUTPUT_LOG: 'patch_output.log'
|
||||
COMMIT: '${{ github.event.inputs.commit }}'
|
||||
CHANNEL: '${{ github.event.inputs.channel }}'
|
||||
REPOSITORY: '${{ github.repository }}'
|
||||
|
||||
Reference in New Issue
Block a user