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 6161 mpi : " on"
6262
6363 steps :
64- - uses : actions/checkout@v2
64+ - uses : actions/checkout@v3
6565
6666 # Enable tmate debugging of manually-triggered workflows if the input option was provided
6767 - name : Setup tmate session
@@ -97,18 +97,15 @@ jobs:
9797
9898 - name : Prepare ccache timestamp
9999 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
104101 - name : Set ccache cache directory
105102 shell : bash
106103 run : echo "CCACHE_DIR=${{runner.workspace}}/.ccache" >> "${GITHUB_ENV}"
107104 - name : Cache ccache files
108- uses : actions/cache@v2
105+ uses : actions/cache@v3
109106 with :
110107 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 }}
112109 restore-keys : |
113110 ${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.mpi }}-${{ matrix.omp }}
114111 ${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.mpi }}
You can’t perform that action at this time.
0 commit comments