From 9810e14f8e759464961bb6cb080f1fde59440c6d Mon Sep 17 00:00:00 2001 From: Jerop Kipruto Date: Tue, 16 Sep 2025 10:19:51 -0400 Subject: [PATCH] feat: clean up temp fix for empty API key Previously, empty API keys caused errors so we handled this by unsetting the empty keys. As of GenAI SDK version 1.16, this is handled correctly. This change removes the temporary unsetting of the key. Related: https://github.com/google-gemini/gemini-cli/pull/7377 Fixes #248 --- action.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/action.yml b/action.yml index 78660a58f..077d3d21a 100644 --- a/action.yml +++ b/action.yml @@ -158,11 +158,6 @@ runs: run: |- set -euo pipefail - # Unset GEMINI_API_KEY if empty - if [ -z "${GEMINI_API_KEY}" ]; then - unset GEMINI_API_KEY - fi - # Create a temporary directory for storing the output, and ensure it's # cleaned up later TEMP_STDOUT="$(mktemp -p "${RUNNER_TEMP}" gemini-out.XXXXXXXXXX)"