Skip to content

Commit a3dcd98

Browse files
committed
Merge pull request #103514 from dsnopek/github-actions-godot-cpp
CI: Use correct godot-cpp branch
2 parents 6536f5f + 70bace7 commit a3dcd98

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/actions/godot-cpp-build/action.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Build godot-cpp
22
description: Build godot-cpp with the provided options.
33

4-
env:
5-
GODOT_CPP_BRANCH: 4.4
6-
74
inputs:
85
bin:
96
description: Path to the Godot binary.
@@ -16,6 +13,10 @@ inputs:
1613
description: The SCons cache path.
1714
default: ${{ github.workspace }}/.scons_cache/
1815
type: string
16+
godot-cpp-branch:
17+
description: The godot-cpp branch.
18+
default: master
19+
type: string
1920

2021
runs:
2122
using: composite
@@ -25,7 +26,7 @@ runs:
2526
with:
2627
submodules: recursive
2728
repository: godotengine/godot-cpp
28-
ref: ${{ env.GODOT_CPP_BRANCH }}
29+
ref: ${{ inputs.godot-cpp-branch }}
2930
path: godot-cpp
3031

3132
- name: Extract API

.github/workflows/linux_builds.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
env:
77
# Used for the cache key. Add version suffix to force clean build.
88
GODOT_BASE_BRANCH: master
9+
GODOT_CPP_BRANCH: 4.4
910
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes strict_checks=yes
1011
DOTNET_NOLOGO: true
1112
DOTNET_CLI_TELEMETRY_OPTOUT: true
@@ -174,6 +175,7 @@ jobs:
174175
with:
175176
bin: ${{ matrix.bin }}
176177
scons-flags: target=template_debug dev_build=yes verbose=yes
178+
godot-cpp-branch: ${{ env.GODOT_CPP_BRANCH }}
177179

178180
- name: Save Godot build cache
179181
uses: ./.github/actions/godot-cache-save

0 commit comments

Comments
 (0)