File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,26 @@ jobs:
6363 em-version : 3.1.62
6464
6565 # Build GDExtension (with caches)
66- - name : Cache .scons_cache
67- uses : actions/cache@v4
66+
67+ - name : Restore .scons_cache
68+ uses : ./godot-cpp/.github/actions/godot-cache-restore
6869 with :
69- path : ${{ github.workspace }}/.scons-cache/
70- key : ${{ matrix.target.platform }}_${{ matrix.target.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}_cache
70+ scons-cache : ${{ github.workspace }}/.scons-cache/
71+ cache-name : ${{ matrix.target.platform }}_${{ matrix.target.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}
72+
7173 - name : Build GDExtension Debug Build
7274 shell : sh
7375 env :
7476 SCONS_CACHE : ${{ github.workspace }}/.scons-cache/
7577 run : |
7678 scons target=${{ matrix.target-type }} platform=${{ matrix.target.platform }} arch=${{ matrix.target.arch }} precision=${{ matrix.float-precision }}
7779
80+ - name : Save .scons_cache
81+ uses : ./godot-cpp/.github/actions/godot-cache-save
82+ with :
83+ scons-cache : ${{ github.workspace }}/.scons-cache/
84+ cache-name : ${{ matrix.target.platform }}_${{ matrix.target.arch }}_${{ matrix.float-precision }}_${{ matrix.target-type }}
85+
7886 # Sign the binary (macOS only)
7987 - name : Mac Sign
8088 # Disable sign if secrets are not set
You can’t perform that action at this time.
0 commit comments