From e73e87cb667a1a7a92d02095a670331d1708fa6a Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Thu, 30 Nov 2023 16:38:20 +0100 Subject: [PATCH] Update action.yml --- .github/actions/build/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index adc43d9..a6d6771 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -39,17 +39,17 @@ runs: - name: Build Godot Cpp shell: sh env: - SCONS_CACHE: .scons-cache - SCONS_CACHE_DIR: .scons-cache + SCONS_CACHE: "${{ github.workspace }}/godot-cpp/.scons-cache/" + SCONS_CACHE_LIMIT: 7168 + working-directory: godot-cpp run: | - cd godot-cpp && \ - scons target=template_debug platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=yes production=yes && \ + scons target=template_debug platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=yes production=yes scons target=template_release platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=yes production=yes - name: Build Physics Server Box2D shell: sh env: - SCONS_CACHE: .scons-cache - SCONS_CACHE_DIR: .scons-cache + SCONS_CACHE: "${{ github.workspace }}/.scons-cache/" + SCONS_CACHE_LIMIT: 7168 run: | scons target=template_debug platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=no production=yes scons target=template_release platform=${{ inputs.platform }} arch=${{ inputs.arch }} generate_bindings=no production=yes