File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,26 @@ jobs:
63
63
em-version : 3.1.62
64
64
65
65
# 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
68
69
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
+
71
73
- name : Build GDExtension Debug Build
72
74
shell : sh
73
75
env :
74
76
SCONS_CACHE : ${{ github.workspace }}/.scons-cache/
75
77
run : |
76
78
scons target=${{ matrix.target-type }} platform=${{ matrix.target.platform }} arch=${{ matrix.target.arch }} precision=${{ matrix.float-precision }}
77
79
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
+
78
86
# Sign the binary (macOS only)
79
87
- name : Mac Sign
80
88
# Disable sign if secrets are not set
You can’t perform that action at this time.
0 commit comments