Merge pull request #103514 from dsnopek/github-actions-godot-cpp

CI: Use correct godot-cpp branch
This commit is contained in:
Rémi Verschelde 2025-03-04 01:02:40 +01:00
commit a3dcd98032
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 7 additions and 4 deletions

View file

@ -1,9 +1,6 @@
name: Build godot-cpp
description: Build godot-cpp with the provided options.
env:
GODOT_CPP_BRANCH: 4.4
inputs:
bin:
description: Path to the Godot binary.
@ -16,6 +13,10 @@ inputs:
description: The SCons cache path.
default: ${{ github.workspace }}/.scons_cache/
type: string
godot-cpp-branch:
description: The godot-cpp branch.
default: master
type: string
runs:
using: composite
@ -25,7 +26,7 @@ runs:
with:
submodules: recursive
repository: godotengine/godot-cpp
ref: ${{ env.GODOT_CPP_BRANCH }}
ref: ${{ inputs.godot-cpp-branch }}
path: godot-cpp
- name: Extract API

View file

@ -6,6 +6,7 @@ on:
env:
# Used for the cache key. Add version suffix to force clean build.
GODOT_BASE_BRANCH: master
GODOT_CPP_BRANCH: 4.4
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes strict_checks=yes
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
@ -174,6 +175,7 @@ jobs:
with:
bin: ${{ matrix.bin }}
scons-flags: target=template_debug dev_build=yes verbose=yes
godot-cpp-branch: ${{ env.GODOT_CPP_BRANCH }}
- name: Save Godot build cache
uses: ./.github/actions/godot-cache-save