We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fde52d + fa6fb63 commit 4e55cbeCopy full SHA for 4e55cbe
.github/workflows/main.yml
@@ -17,14 +17,17 @@ jobs:
17
runs-on: ubuntu-latest
18
steps:
19
- uses: actions/checkout@v3
20
+ - name: Get Date
21
+ id: get-date
22
+ run: |
23
+ echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
24
- name: Cache ccache
25
uses: actions/cache@v3
26
with:
27
path: |
28
~/.ccache
- key: ${{ runner.os }}-ccache-${{ github.event.repository.name }}-${{ github.sha }}
29
+ key: ${{ runner.os }}-ccache-${{ steps.get-date.outputs.date }}
30
restore-keys: |
- ${{ runner.os }}-ccache-${{ github.event.repository.name }}-
31
${{ runner.os }}-ccache-
32
- name: Install
33
run: |
0 commit comments