Skip to content

Commit

Permalink
GH Actions: upload sccache log as artifact instead of printing
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Feb 26, 2021
1 parent 2c51b54 commit 0e7a9f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,11 @@ jobs:
SCCACHE_ERROR_LOG: C:\sccache-log.txt

- name: "[Windows] Print sccache log"
run: type C:\sccache-log.txt
if: always() && runner.os == 'Windows'
uses: actions/upload-artifact@v2
with:
name: "sccache server log"
path: 'C:\sccache-log.txt'

- name: "Print compiler cache stats"
run: ${{ matrix.compiler_cache }} -s
Expand Down

0 comments on commit 0e7a9f1

Please sign in to comment.