File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 path : swiftly
2222
23- - name : Set up cache for Xmake
24- id : xmake-cache
25- uses : actions/cache@v2
26- with :
27- path : ${{ github.workspace }}/swiftly/build/.build_cache
28- key : ${{ runner.os }}-xmake-${{ hashFiles('**/*') }}
29- restore-keys : |
30- ${{ runner.os }}-xmake-
31-
3223 - name : Generate Documentation
3324 working-directory : swiftly/docgen
3425 run : |
6051 path : swiftly
6152 submodules : recursive
6253
54+ - name : Restore cached XMake Build
55+ id : cache-xmake-build
56+ uses : actions/cache/restore@v4
57+ with :
58+ path : |
59+ ${{ github.workspace }}/swiftly/build/.build_cache
60+ key : ${{ runner.os }}-swiftly-build
61+
6362 - name : Install XMake
6463 uses : xmake-io/github-action-setup-xmake@v1
6564 with :
@@ -121,4 +120,12 @@ jobs:
121120 uses : actions/upload-artifact@v4
122121 with :
123122 name : Swiftly Plugin Depot Linux
124- path : ${{ github.workspace }}/swiftly/build/package
123+ path : ${{ github.workspace }}/swiftly/build/package
124+
125+ - name : Save cached XMake Build
126+ id : save-xmake-build
127+ uses : actions/cache/save@v4
128+ with :
129+ path : |
130+ ${{ github.workspace }}/swiftly/build/.build_cache
131+ key : ${{ steps.cache-xmake-build.outputs.cache-primary-key }}
You can’t perform that action at this time.
0 commit comments