File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 6868 uses : xmake-io/github-action-setup-xmake@v1
6969 with :
7070 xmake-version : latest
71+ actions-cache-folder : ' .xmake-cache'
7172 build-cache : true
73+ build-cache-key : ${{ runner.os }}-build
74+ build-cache-path : ' build/'
7275 - name : Restore build cache
7376 id : restore-cache
7477 uses : actions/cache/restore@v4
@@ -109,6 +112,8 @@ jobs:
109112 with :
110113 xmake-version : latest
111114 build-cache : true
115+ build-cache-key : ${{ runner.os }}-build
116+ build-cache-path : ' build/'
112117 - name : Restore build cache
113118 id : restore-cache
114119 uses : actions/cache/restore@v4
@@ -118,7 +123,7 @@ jobs:
118123 key : ${{ runner.os }}-build
119124 - name : Build
120125 run : |
121- xmake f --ccache= y -y
126+ xmake f --policies=build.ccache: y -y
122127 xmake build -y
123128 env :
124129 SWIFTLY_VERSION : ${{ needs.versioning.outputs.fullSemVer }}
You can’t perform that action at this time.
0 commit comments