File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 1919 STACKQL_CORE_REF : ${{ vars.STACKQL_CORE_REF != '' && vars.STACKQL_CORE_REF || 'main' }}
2020 STACKQL_ANY_SDK_REPOSITORY : ${{ vars.STACKQL_ANY_SDK_REPOSITORY != '' && vars.STACKQL_ANY_SDK_REPOSITORY || 'stackql/any-sdk' }}
2121 STACKQL_ANY_SDK_REF : ${{ vars.STACKQL_ANY_SDK_REF != '' && vars.STACKQL_ANY_SDK_REF || 'main' }}
22+ PRINT_LOG_CONTENTS : ${{ vars.PRINT_LOG_CONTENTS != '' && vars.PRINT_LOG_CONTENTS || 'false' }} # only string 'true' will generate logs to stdout, else inspect uploaded logs
2223
2324jobs :
2425
@@ -118,13 +119,15 @@ jobs:
118119 echo ""
119120 echo "All tasks completed."
120121 echo ""
121- for logFile in ./test/log/*.log ; do
122- echo ""
123- echo "contents of ${logFile}:"
124- echo ""
125- cat "${logFile}"
126- echo ""
127- done
122+ if [ "${{ env.PRINT_LOG_CONTENTS }}" = "true" ]; then
123+ for logFile in ./test/log/*.log ; do
124+ echo ""
125+ echo "contents of ${logFile}:"
126+ echo ""
127+ cat "${logFile}"
128+ echo ""
129+ done
130+ fi
128131 for rcf in ./test/log/rc_* ; do
129132 thisrc="$(cat "${rcf}")"
130133 if [ "$thisrc" != "0" ]; then
@@ -143,5 +146,5 @@ jobs:
143146144147 if : always()
145148 with :
146- name : aot_analysis_logs
149+ name : aot_analysis_logs_${{ github.event.repository.name }}_${{ github.run_id }}
147150 path : ./test/log
You can’t perform that action at this time.
0 commit comments