mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] update extension CI to 4.6.1 and fallback godot-cpp to master
This commit is contained in:
parent
ac3814da64
commit
17b617d808
@ -14,7 +14,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
version:
|
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
|
uses: ./.github/workflows/spine-godot-extension-v4.yml
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -35,6 +35,11 @@ fi
|
|||||||
|
|
||||||
godot_cpp_branch=$(echo $godot_branch | cut -d. -f1-2 | cut -d- -f1)
|
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
|
cpus=2
|
||||||
if [ "$OSTYPE" == "msys" ]; then
|
if [ "$OSTYPE" == "msys" ]; then
|
||||||
cpus=$NUMBER_OF_PROCESSORS
|
cpus=$NUMBER_OF_PROCESSORS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user