actions: clang: add branch name to ccache key
Add branch name to the ccache key to avoid cache contamination from old branches. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
5c24fcb4ae
commit
6ab1a7cb22
1 changed files with 1 additions and 1 deletions
2
.github/workflows/clang.yaml
vendored
2
.github/workflows/clang.yaml
vendored
|
@ -69,7 +69,7 @@ jobs:
|
|||
id: cache-ccache
|
||||
uses: nashif/action-s3-cache@master
|
||||
with:
|
||||
key: ${{ steps.ccache_cache_timestamp.outputs.repo }}-clang-${{ matrix.platform }}-ccache
|
||||
key: ${{ steps.ccache_cache_timestamp.outputs.repo }}-${{ github.ref_name }}-clang-${{ matrix.platform }}-ccache
|
||||
path: /github/home/.ccache
|
||||
aws-s3-bucket: ccache.zephyrproject.org
|
||||
aws-access-key-id: ${{ secrets.CCACHE_S3_ACCESS_KEY_ID }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue