Skip to content

Commit 3ccd0cf

Browse files
committed
debug: add more logging and fix ~/.gemini directory issue
1 parent 7e8613f commit 3ccd0cf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

action.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ runs:
233233
USE_PNPM: '${{ inputs.use_pnpm }}'
234234
shell: 'bash'
235235
run: |-
236-
set -euo pipefail
236+
set -exuo pipefail
237+
mkdir -p ~/.gemini
237238
echo "Starting Gemini CLI installation..."
238239
239240
VERSION_INPUT="${GEMINI_CLI_VERSION:-latest}"
@@ -290,7 +291,12 @@ runs:
290291
id: 'gemini_run'
291292
shell: 'bash'
292293
run: |-
293-
set -euo pipefail
294+
set -exuo pipefail
295+
echo "Starting Gemini CLI execution..."
296+
297+
echo "--- Environment variables ---"
298+
env | sort | grep -vE "TOKEN|KEY|PASS|SECRET" || true
299+
echo "--- End environment variables ---"
294300
295301
# Create a temporary directory for storing the output, and ensure it's
296302
# cleaned up later

0 commit comments

Comments
 (0)