File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -395,11 +395,20 @@ jobs:
395395 with :
396396 name : functional-${{ matrix.name }}-${{ steps.vars.outputs.PR_OR_MASTER }}-sha-${{ steps.vars.outputs.COMMIT_SHA }}-run-${{ steps.vars.outputs.RUN_ID_SHORT}}
397397 path : ./report
398- - name : The End Result ${{ matrix.name }}
398+ - name : The End Result Summary ${{ matrix.name }}
399399 shell : bash
400400 run : |
401401 summary="$GITHUB_STEP_SUMMARY"
402-
402+ ARTIFACT_NAME="functional-${{ matrix.name }}-${{ steps.vars.outputs.PR_OR_MASTER }}-sha-${{ steps.vars.outputs.COMMIT_SHA }}"
403+ ARTIFACT_ID='${{ steps.upload_gopogh.outputs.artifact-id }}'
404+ if [ -n "$ARTIFACT_ID" ]; then
405+ URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/$ARTIFACT_ID"
406+ echo "Gopogh report artifact ($ARTIFACT_NAME): $URL"
407+ echo "Gopogh report artifact URL: $URL" >> $GITHUB_STEP_SUMMARY
408+ else
409+ echo "Could not determine artifact ID (action version may not expose it). Find artifact named: $ARTIFACT_NAME"
410+ echo "Report artifact name: $ARTIFACT_NAME" >> $GITHUB_STEP_SUMMARY
411+ fi
403412 echo "-------------------- RESULT SUMMARY --------------------"
404413 echo "$RESULT_SHORT" | tee -a "$summary"
405414
@@ -430,3 +439,4 @@ jobs:
430439 if [ "$numPass" -eq 0 ];then echo "*** 0 Passed! ***";exit 2;fi
431440 # Safe Guard for when tests gets skipped and no failures
432441 if [ "$numPass" -lt 35 ];then echo "*** Failed to pass at least 35 ! ***";exit 2;fi
442+
You can’t perform that action at this time.
0 commit comments