mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Improve main github action for daily builds
Remove qtscript Remove use of obsolete action Improve cache key for vcpkg
This commit is contained in:
parent
b30a8507a9
commit
baf379701c
8
.github/workflows/ResInsightWithCache.yml
vendored
8
.github/workflows/ResInsightWithCache.yml
vendored
@ -152,14 +152,9 @@ jobs:
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
version: 5.12.12
|
||||
modules: qtscript
|
||||
dir: "${{ github.workspace }}/Qt/"
|
||||
cache: true
|
||||
|
||||
- name: Set vcpkg's response file path used as part of cache's key.
|
||||
uses: lukka/set-shell-env@master
|
||||
with:
|
||||
VCPKGRESPONSEFILE: ${{ github.workspace }}/${{ matrix.config.vcpkg-response-file }}
|
||||
- name: Restore from cache and install vcpkg
|
||||
uses: lukka/run-vcpkg@v7
|
||||
id: runvcpkg
|
||||
@ -167,8 +162,7 @@ jobs:
|
||||
vcpkgArguments: "@${{ github.workspace }}/${{ matrix.config.vcpkg-response-file }}"
|
||||
vcpkgDirectory:
|
||||
"${{ github.workspace }}/ThirdParty/vcpkg"
|
||||
# Ensure the cache key changes any time the content of the response file changes.
|
||||
appendedCacheKey: ${{ hashFiles(env.VCPKGRESPONSEFILE) }}-cache-key-v2
|
||||
appendedCacheKey: ${{ matrix.config.os }}-${{ matrix.config.cxx }}-cache-key-v2
|
||||
|
||||
- name: Cache dynamic version of OpenSSL (Linux)
|
||||
if: "contains( matrix.config.os, 'ubuntu_disabled')"
|
||||
|
Loading…
Reference in New Issue
Block a user