[godot] update extension CI to 4.6.1 and fallback godot-cpp to master

This commit is contained in:
Mario Zechner 2026-02-25 14:23:21 +01:00
parent dc62e73bae
commit da81f151a3
2 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,7 @@ jobs:
matrix:
version:
[
{"tag": "4.5.1-stable", "version": "4.5.1.stable", "dev": false},
{"tag": "4.6.1-stable", "version": "4.6.1.stable", "dev": false},
]
uses: ./.github/workflows/spine-godot-extension-v4.yml
with:

View File

@ -35,6 +35,11 @@ fi
godot_cpp_branch=$(echo $godot_branch | cut -d. -f1-2 | cut -d- -f1)
if ! git ls-remote --exit-code --heads $godot_cpp_repo $godot_cpp_branch > /dev/null 2>&1; then
echo "godot-cpp branch '$godot_cpp_branch' not found, falling back to 'master'"
godot_cpp_branch="master"
fi
cpus=2
if [ "$OSTYPE" == "msys" ]; then
cpus=$NUMBER_OF_PROCESSORS