Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7ffe172

Browse files
Merge pull request #92 from bytebase/a-branch-24
update
2 parents 6f009aa + f0f3407 commit 7ffe172

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

‎.github/workflows/4-bb-export.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,17 @@ jobs:
6464
-o "$temp_file")
6565
6666
echo "Response (Status $http_code):"
67-
cat "$temp_file" | jq '.'
67+
echo "Raw response:"
68+
cat "$temp_file"
69+
70+
# Check if response is valid JSON
71+
if jq empty "$temp_file" 2>/dev/null; then
72+
echo "Valid JSON response:"
73+
cat "$temp_file" | jq '.'
74+
else
75+
echo "WARNING: Invalid JSON response"
76+
cat "$temp_file"
77+
fi
6878
echo "------------------------"
6979
7080
cat "$temp_file"
File renamed without changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /