mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Use latest buildcache version
This commit is contained in:
parent
3164b39225
commit
2680611a7a
4
.github/workflows/ResInsightWithCache.yml
vendored
4
.github/workflows/ResInsightWithCache.yml
vendored
@ -9,7 +9,6 @@ on:
|
|||||||
- cron: '0 1 * * *'
|
- cron: '0 1 * * *'
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
BUILDCACHE_VERSION: 0.27.6
|
|
||||||
BUILDCACHE_DIR: ${{ github.workspace }}/buildcache_dir
|
BUILDCACHE_DIR: ${{ github.workspace }}/buildcache_dir
|
||||||
BUILDCACHE_ACCURACY: SLOPPY
|
BUILDCACHE_ACCURACY: SLOPPY
|
||||||
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
||||||
@ -109,8 +108,7 @@ jobs:
|
|||||||
set(buildcache_suffix "linux.tar.gz")
|
set(buildcache_suffix "linux.tar.gz")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(buildcache_version $ENV{BUILDCACHE_VERSION})
|
set(buildcache_url "https://gitlab.com/bits-n-bites/buildcache/-/releases/permalink/latest/downloads/buildcache-${buildcache_suffix}")
|
||||||
set(buildcache_url "https://github.com/mbitsnbites/buildcache/releases/download/v${buildcache_version}/buildcache-${buildcache_suffix}")
|
|
||||||
file(DOWNLOAD "${buildcache_url}" ./buildcache.zip)
|
file(DOWNLOAD "${buildcache_url}" ./buildcache.zip)
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf ./buildcache.zip)
|
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xvf ./buildcache.zip)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user