mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[godot] Another attempt at fixing web template builds for Godot >= 4.3, see #2627
This commit is contained in:
parent
77ab726b3f
commit
eb247bbfa2
2
.github/workflows/spine-godot-v4.yml
vendored
2
.github/workflows/spine-godot-v4.yml
vendored
@ -394,7 +394,7 @@ jobs:
|
||||
|
||||
echo "$GODOT_VERSION" > version.txt
|
||||
# Extract the major and minor version from GODOT_VERSION
|
||||
GODOT_MAJOR_MINOR=$(echo "$GODOT_VERSION" | awk -F. '{print $1 "." $2}')
|
||||
GODOT_MAJOR_MINOR=$(echo "$GODOT_VERSION" | sed -E 's/^([0-9]+\.[0-9]+).*/\1/')
|
||||
|
||||
# Check if the version is >= 4.3
|
||||
if [[ $(echo "$GODOT_MAJOR_MINOR >= 4.3" | bc) -eq 1 ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user