Skip to content

Commit 49c83da

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 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 }}-${{ 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: |
@@ -78,11 +79,12 @@ jobs:
7879
with:
7980
path: |
8081
build/
81-
key: ${{ runner.os }}-${{ env.GITHUB_REF_NAME }}
82+
key: ${{ runner.os }}-${{ github.ref_name }}
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)