Fix redot-cpp-build CI action

(cherry picked from commit 4eee665531)
This commit is contained in:
Spartan322
2025-04-23 05:00:32 -04:00
parent 712bd38e85
commit 0ce68b406b
2 changed files with 6 additions and 4 deletions

View File

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

View File

@@ -179,6 +179,7 @@ jobs:
with:
bin: ${{ matrix.bin }}
scons-flags: target=template_debug dev_build=yes verbose=yes
redot-cpp-branch: ${{ env.GODOT_CPP_BRANCH }}
- name: Save Godot build cache
uses: ./.github/actions/godot-cache-save