Skip to content

Commit 3f93f27

Browse files
committed
Moving ccache step with key directly after checkout
1 parent 5d8e396 commit 3f93f27

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
fetch-depth: 0
4848
submodules: recursive
4949

50+
- name: ccache # This should always come after the actions/checkout step.
51+
uses: hendrikmuhs/ccache-action@v1.2
52+
with:
53+
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.build }}
54+
5055
- name: Install Phasar Dependencies
5156
shell: bash
5257
run: |
@@ -68,12 +73,6 @@ jobs:
6873
-G Ninja
6974
ninja -C build
7075
71-
- name: ccache # This should always come after the actions/checkout step.
72-
uses: hendrikmuhs/ccache-action@v1.2
73-
with:
74-
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.build }}
75-
create-symlink: true
76-
7776
- name: Run Unittests
7877
shell: bash
7978
run: |

0 commit comments

Comments
 (0)