ci: Always upload cache

This commit is contained in:
Luke Street 2021-06-12 10:35:07 -04:00
parent 3f9b0e6822
commit 71246839cd
3 changed files with 8 additions and 8 deletions

View File

@ -68,7 +68,7 @@ jobs:
df -h .
- name: Restore buildcache
uses: actions/cache@v2
uses: pat-s/always-upload-cache@v2
with:
path: ${{env.BUILDCACHE_DIR}}
key: buildcache-${{runner.os}}-${{matrix.preset}}-${{github.sha}}
@ -127,7 +127,7 @@ jobs:
rm /tmp/$NAME.dmg
- name: Restore buildcache
uses: actions/cache@v2
uses: pat-s/always-upload-cache@v2
with:
path: ${{env.BUILDCACHE_DIR}}
key: buildcache-${{runner.os}}-universal-${{github.sha}}
@ -203,7 +203,7 @@ jobs:
Get-PSDrive
- name: Restore buildcache
uses: actions/cache@v2
uses: pat-s/always-upload-cache@v2
with:
path: ${{env.BUILDCACHE_DIR}}
key: buildcache-${{runner.os}}-${{matrix.preset}}-${{github.sha}}

View File

@ -68,7 +68,7 @@ jobs:
df -h .
- name: Restore buildcache
uses: actions/cache@v2
uses: pat-s/always-upload-cache@v2
with:
path: ${{env.BUILDCACHE_DIR}}
key: buildcache-${{runner.os}}-${{matrix.preset}}-${{github.sha}}
@ -145,7 +145,7 @@ jobs:
rm /tmp/$NAME.dmg
- name: Restore buildcache
uses: actions/cache@v2
uses: pat-s/always-upload-cache@v2
with:
path: ${{env.BUILDCACHE_DIR}}
key: buildcache-${{runner.os}}-universal-${{github.sha}}
@ -309,7 +309,7 @@ jobs:
Get-PSDrive
- name: Restore buildcache
uses: actions/cache@v2
uses: pat-s/always-upload-cache@v2
with:
path: ${{env.BUILDCACHE_DIR}}
key: buildcache-${{runner.os}}-clang-${{github.sha}}

View File

@ -251,8 +251,8 @@
"cacheVariables": {
"CMAKE_C_COMPILER_LAUNCHER": "buildcache",
"CMAKE_CXX_COMPILER_LAUNCHER": "buildcache",
"CMAKE_C_FLAGS_RELWITHDEBINFO": "/MD /Z7 /O2 /Ob1 /DNDEBUG",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "/MD /Z7 /O2 /Ob1 /DNDEBUG",
"CMAKE_C_FLAGS_RELWITHDEBINFO": "/Z7 /O2 /Ob1 /DNDEBUG",
"CMAKE_CXX_FLAGS_RELWITHDEBINFO": "/Z7 /O2 /Ob1 /DNDEBUG",
"CMAKE_INSTALL_PREFIX": "$env{BUILD_DIR}/install"
},
"environment": {