Skip to content

Commit 1a954b5

Browse files
committed
Debug
1 parent a676987 commit 1a954b5

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/update-citations.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,21 @@ jobs:
3131
timeout-minutes: 15
3232

3333
steps:
34-
- name: Debug dump
35-
if: runner.debug == '1'
36-
uses: crazy-max/ghaction-dump-context@v2
37-
3834
- name: Check GOOGLE_SCHOLAR_API_KEY presence
39-
if: github.event.action != 'closed'
4035
run: |
36+
echo "========================================";
37+
echo "Checking GOOGLE_SCHOLAR_API_KEY...";
4138
if [ -z "${GOOGLE_SCHOLAR_API_KEY}" ]; then
42-
echo "GOOGLE_SCHOLAR_API_KEY is EMPTY or not set";
39+
echo "GOOGLE_SCHOLAR_API_KEY is EMPTY or not set";
4340
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)";
41+
echo "GOOGLE_SCHOLAR_API_KEY appears to be set (length > 0)";
42+
echo "First 4 chars: ${GOOGLE_SCHOLAR_API_KEY:0:4}********";
4643
fi
44+
echo "========================================";
45+
46+
- name: Debug dump
47+
if: runner.debug == '1'
48+
uses: crazy-max/ghaction-dump-context@v2
4749

4850
- name: Checkout branch contents
4951
if: github.event.action != 'closed'

0 commit comments

Comments
 (0)