Skip to content

Commit 6b21e09

Browse files
committed
Debug
1 parent d21c336 commit 6b21e09

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/update-citations.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ jobs:
3535
if: runner.debug == '1'
3636
uses: crazy-max/ghaction-dump-context@v2
3737

38+
- name: Check GOOGLE_SCHOLAR_API_KEY presence
39+
if: github.event.action != 'closed'
40+
run: |
41+
if [ -z "${GOOGLE_SCHOLAR_API_KEY}" ]; then
42+
echo "GOOGLE_SCHOLAR_API_KEY is EMPTY or not set";
43+
else
44+
echo "GOOGLE_SCHOLAR_API_KEY appears to be set (length > 0)";
45+
echo "First 4 chars: ${GOOGLE_SCHOLAR_API_KEY:0:4}******** (truncated)";
46+
fi
47+
3848
- name: Checkout branch contents
3949
if: github.event.action != 'closed'
4050
uses: actions/checkout@v4

0 commit comments

Comments
 (0)