Skip to content

Commit 0c70182

Browse files
committed
Save sccache logs for debugging
1 parent 6a9d4b4 commit 0c70182

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ env:
1818
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
1919
SCCACHE_GHA_ENABLED: "true"
2020
RUSTC_WRAPPER: "sccache"
21+
SCCACHE_ERROR_LOG: /tmp/sccache_log.txt
22+
SCCACHE_LOG: debug
2123

2224
jobs:
2325
opa-lint:
@@ -250,6 +252,12 @@ jobs:
250252
env:
251253
SQLX_OFFLINE: "1"
252254

255+
- name: Upload the sccache log
256+
uses: actions/[email protected]
257+
with:
258+
name: sccache-log
259+
path: /tmp/sccache_log.txt
260+
253261
- name: Upload archive to workflow
254262
uses: actions/[email protected]
255263
with:

0 commit comments

Comments
 (0)