Fix redot-cpp-build CI action

This commit is contained in:
Spartan322
2025-04-23 05:00:32 -04:00
parent be3ab6ae82
commit 4eee665531
2 changed files with 6 additions and 4 deletions

View File

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

View File

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