We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 921be49 commit 5e1c667Copy full SHA for 5e1c667
.github/workflows/main.yml
@@ -34,11 +34,16 @@ jobs:
34
- uses: actions/checkout@v1
35
- name: Create .ccache dir
36
run: mkdir -p ~/.ccache
37
+ - name: prepare timestamp
38
+ id: get-timestamp
39
+ run: echo "timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> $GITHUB_OUTPUT
40
+ shell: bash
41
- name: ccache cache files
42
uses: actions/cache@v4
43
with:
44
path: ~/.ccache
- key: ${{ runner.os }}-${{ matrix.config.cacheid }}-ccache
45
+ key: ${{ runner.os }}-${{ matrix.config.cacheid }}-ccache-${{ steps.get-timestamp.outputs.timestamp }}
46
+ restore-keys: ${{ runner.os }}-${{ matrix.config.cacheid }}-ccache
47
- name: Pull the Docker Image
48
run: docker-compose pull ${{ matrix.config.image }}
49
- name: Print ccache stats
0 commit comments