Skip to content

Commit

Permalink
CI: Compat checks: Make fetching the reference API more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
RedworkDE committed Sep 5, 2023
1 parent e720842 commit e36bd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/scripts/validate_extension_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ while read -r file; do
get_expected_output "$file"

# Download the reference extension_api.json
wget -qcO "$reference_file" "https://raw.githubusercontent.com/godotengine/godot-cpp/godot-$reference_tag/gdextension/extension_api.json"
wget -nv --retry-on-http-error=503 --tries=5 --timeout=60 -cO "$reference_file" "https://raw.githubusercontent.com/godotengine/godot-cpp/godot-$reference_tag/gdextension/extension_api.json" || has_problems=1
# Validate the current API against the reference
"$1" --headless --validate-extension-api "$reference_file" 2>&1 | tee "$validate" | awk '!/^Validate extension JSON:/' - || true
# Collect the expected and actual validation errors
Expand Down

0 comments on commit e36bd59

Please sign in to comment.