We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 014da80 commit f9c2178Copy full SHA for f9c2178
1 file changed
.github/workflows/eval.yml
@@ -15,10 +15,12 @@ jobs:
15
steps:
16
- name: Check that REPO_GEMINI_API_KEY is set and available
17
env:
18
+ # REPO_GEMINI_API_KEY is expected to be set in the repository secrets
19
+ # See https://docs.github.com/en/actions/security-guides/encrypted-secrets
20
GEMINI_API_KEY: ${{ secrets.REPO_GEMINI_API_KEY }}
21
run: |
22
if [ -z "$GEMINI_API_KEY" ]; then
- echo "ERROR: GEMINI_API_KEY is not set"
23
+ echo "ERROR: REPO_GEMINI_API_KEY is not set"
24
exit 1
25
fi
26
echo "GEMINI_API_KEY has ${#GEMINI_API_KEY} characters"
0 commit comments