File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -146,5 +146,9 @@ jobs:
146146 env :
147147 CMAKE_GENERATOR : " MinGW Makefiles"
148148
149- - run : cat build/CMakeFiles/CMakeConfigureLog.yaml
150- if : ${{ failure() }}
149+ - name : upload CMakeConfigureLog.yaml
150+ if : failure() && hashFiles('build/CMakeFiles/CMakeConfigureLog.yaml') != ''
151+ uses : actions/upload-artifact@v4
152+ with :
153+ name : ${{ runner.os }}-CMakeConfigureLog.yaml
154+ path : build/CMakeFiles/CMakeConfigureLog.yaml
Original file line number Diff line number Diff line change 2323 - run : cmake --workflow --preset release
2424 shell : bash
2525
26- - run : cat build/CMakeFiles/CMakeConfigureLog.yaml
27- if : ${{ failure() }}
28- shell : bash
26+ - name : upload CMakeConfigureLog.yaml
27+ if : failure() && hashFiles('build/CMakeFiles/CMakeConfigureLog.yaml') != ''
28+ uses : actions/upload-artifact@v4
29+ with :
30+ name : ${{ runner.os }}-${{ env.CC }}-CMakeConfigureLog.yaml
31+ path : build/CMakeFiles/CMakeConfigureLog.yaml
You can’t perform that action at this time.
0 commit comments