mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-01 21:29:07 +08:00
[godot] update extension CI to 4.6.1 and fallback godot-cpp to master
This commit is contained in:
parent
dc62e73bae
commit
da81f151a3
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user