mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
GitHub Action : Use year, month, and day as cache timestamp key
Original example for timestamp included hour, minute and second to build up cache key.
This commit is contained in:
parent
b4defbf19b
commit
d72e6e40f7
2
.github/workflows/ResInsightWithCache.yml
vendored
2
.github/workflows/ResInsightWithCache.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
id: cache_timestamp_string
|
||||
shell: cmake -P {0}
|
||||
run: |
|
||||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
|
||||
string(TIMESTAMP current_date "%Y-%m-%d" UTC)
|
||||
message("::set-output name=timestamp::${current_date}")
|
||||
- name: Cache Buildcache
|
||||
id: cache-buildcache
|
||||
|
Loading…
Reference in New Issue
Block a user