File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 47
47
GHCR_REGISTRY : ' ghcr.io'
48
48
GHCR_REGISTRY_USERNAME : ${{ github.actor }}
49
49
GHCR_REGISTRY_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
- SCCACHE_GHA_ENABLED : " true"
51
- RUSTC_WRAPPER : " sccache"
52
50
53
51
54
52
jobs :
@@ -127,9 +125,9 @@ jobs:
127
125
SCCACHE_GHA_ENABLED=on
128
126
RESTATE_FEATURES=${{ inputs.features || '' }}
129
127
RUSTC_WRAPPER=sccache
130
- cache-from : type=gha,scope=${{ github.workflow }}, url=http://127.0.0.1:49160/
131
- cache-to : type=gha,mode=max,scope=${{ github.workflow }}, url=http://127.0.0.1:49160/
132
-
128
+ cache-from : type=gha,url=http://127.0.0.1:49160/
129
+ cache-to : type=gha,url=http://127.0.0.1:49160/,mode=max
130
+
133
131
- name : Save docker image as tar
134
132
if : ${{ inputs.uploadImageAsTarball }}
135
133
run : |
@@ -167,6 +165,3 @@ jobs:
167
165
RESTATE_FEATURES=${{ inputs.features || '' }}
168
166
cache-from : type=gha,scope=${{ github.workflow }},url=http://127.0.0.1:49160/
169
167
cache-to : type=gha,mode=max,scope=${{ github.workflow }},url=http://127.0.0.1:49160/
170
- - name : Run sccache stat for check
171
- shell : bash
172
- run : ${SCCACHE_PATH} --show-stats
You can’t perform that action at this time.
0 commit comments