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 20
20
with :
21
21
path : swiftly
22
22
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
-
32
23
- name : Generate Documentation
33
24
working-directory : swiftly/docgen
34
25
run : |
60
51
path : swiftly
61
52
submodules : recursive
62
53
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
+
63
62
- name : Install XMake
64
63
uses : xmake-io/github-action-setup-xmake@v1
65
64
with :
@@ -121,4 +120,12 @@ jobs:
121
120
uses : actions/upload-artifact@v4
122
121
with :
123
122
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