File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 61
61
mpi : " on"
62
62
63
63
steps :
64
- - uses : actions/checkout@v2
64
+ - uses : actions/checkout@v3
65
65
66
66
# Enable tmate debugging of manually-triggered workflows if the input option was provided
67
67
- name : Setup tmate session
@@ -97,18 +97,15 @@ jobs:
97
97
98
98
- name : Prepare ccache timestamp
99
99
id : ccache_cache_timestamp
100
- shell : cmake -P {0}
101
- run : |
102
- string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
103
- message("::set-output name=timestamp::${current_date}")
100
+ run : echo "{date_and_time}={$(date +'%Y-%m-%d-%H;%M;%S')}" >> $GITHUB_OUTPUT
104
101
- name : Set ccache cache directory
105
102
shell : bash
106
103
run : echo "CCACHE_DIR=${{runner.workspace}}/.ccache" >> "${GITHUB_ENV}"
107
104
- name : Cache ccache files
108
- uses : actions/cache@v2
105
+ uses : actions/cache@v3
109
106
with :
110
107
path : ${{runner.workspace}}/.ccache
111
- key : ${{matrix.os}}-${{matrix.cxx}}-${{matrix.mpi}}-${{matrix.omp}}-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
108
+ key : ${{matrix.os}}-${{matrix.cxx}}-${{matrix.mpi}}-${{matrix.omp}}-${{ steps.ccache_cache_timestamp.outputs.date_and_time }}
112
109
restore-keys : |
113
110
${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.mpi }}-${{ matrix.omp }}
114
111
${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.mpi }}
You can’t perform that action at this time.
0 commit comments