File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -146,5 +146,9 @@ jobs:
146
146
env :
147
147
CMAKE_GENERATOR : " MinGW Makefiles"
148
148
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 23
23
- run : cmake --workflow --preset release
24
24
shell : bash
25
25
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