You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/06/01 21:06:56 UTC
[GitHub] [incubator-mxnet] leezu commented on a change in pull request #18459: Enable ccache on Github Actions
leezu commented on a change in pull request #18459:
URL: https://github.com/apache/incubator-mxnet/pull/18459#discussion_r433490417
##########
File path: .github/workflows/os_x_staticbuild.yml
##########
@@ -8,18 +8,40 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
+
+ - name: Compilation cache
+ uses: actions/cache@v2
+ with:
+ path: ~/.ccache
+ # We include the commit sha in the cache key, as new cache entries are
+ # only created if there is no existing entry for the key yet.
+ key: ${{ runner.os }}-ccache-${{ github.sha }}
Review comment:
Yes, via the restore-keys below. It's based on common prefix
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org