mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Update build cache action
This commit is contained in:
parent
610de357c1
commit
c2c11e74b1
7
.github/workflows/ResInsightWithCache.yml
vendored
7
.github/workflows/ResInsightWithCache.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: ResInsight Build
|
||||
name: ResInsight Build With Cache
|
||||
|
||||
on: [push]
|
||||
|
||||
@ -74,9 +74,10 @@ jobs:
|
||||
with:
|
||||
path: ${{ env.BUILDCACHE_DIR }}
|
||||
key: ${{ matrix.config.name }}-cache-${{ steps.cache_timestamp_string.outputs.timestamp }}
|
||||
restore-keys: ${{ matrix.config.name }}-cache-
|
||||
- name: Create Folder for buildcache
|
||||
if: steps.cache-buildcache.outputs.cache-hit != 'true'
|
||||
run: mkdir ${{ env.BUILDCACHE_DIR }}
|
||||
run: New-Item ${{ env.BUILDCACHE_DIR }} -ItemType "directory" -Force
|
||||
shell: pwsh
|
||||
- name: Add buildcache to system path
|
||||
run: echo "::add-path::${{ github.workspace }}/bin"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user