Skip to content

Commit 6c06fe9

Browse files
committed
[Misc] Forgot to change CI build cache key for Ubuntu
1 parent f69c0e5 commit 6c06fe9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ jobs:
3535
with:
3636
path: |
3737
build/
38-
key: ${{ runner.os }}-master
38+
key: ${{ runner.os }}-${{ env.GITHUB_REF_NAME }}
3939
- name: Create build dir
4040
if: steps.cmake-cache.outputs.cache-hit != 'true'
4141
run: |
42+
rm -rf build
4243
mkdir build
4344
- name: Build
4445
run: |
@@ -82,7 +83,8 @@ jobs:
8283
- name: Create build dir
8384
if: steps.cmake-cache.outputs.cache-hit != 'true'
8485
run: |
85-
mkdir build
86+
Remove-Item -path build -recurse
87+
New-Item -ItemType Directory -Force -Path build
8688
- name: Build
8789
run: |
8890
$env:MONO_INCLUDE_DIR = "C:\Program Files\Mono\include\mono-2.0\"

0 commit comments

Comments
 (0)