Skip to content

Commit a079ed2

Browse files
committed
Link to artifacts
1 parent a21caa5 commit a079ed2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/test_ya/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ runs:
113113
export PUBLIC_DIR_URL=$S3_URL_PREFIX
114114
echo "PUBLIC_DIR_URL=$PUBLIC_DIR_URL" >> $GITHUB_ENV
115115
mkdir -p $PUBLIC_DIR
116+
echo "After check artifacts will be uploaded [here](${PUBLIC_DIR_URL}/index.html)" | .github/scripts/tests/comment-pr.py
116117
117118
echo "LAST_JUNIT_REPORT_XML=$PUBLIC_DIR/last_junit.xml" >> $GITHUB_ENV
118119
export TESTMO_URL=${{ inputs.testman_url }}
@@ -538,7 +539,7 @@ runs:
538539
set -x
539540
echo "::group::s3-sync"
540541
.github/scripts/Indexer/indexer.py -r "$PUBLIC_DIR/"
541-
echo "00 [Workflow artifacts](${S3_URL_PREFIX}/index.html)" >> $SUMMARY_LINKS
542+
echo "00 [Artifacts](${PUBLIC_DIR_URL}/index.html)" >> $SUMMARY_LINKS
542543
s3cmd sync --follow-symlinks --acl-public --no-progress --stats --no-check-md5 "$PUBLIC_DIR/" "$S3_BUCKET_PATH/"
543544
cat $SUMMARY_LINKS | python3 -c 'import sys; print(" | ".join([v for _, v in sorted([l.strip().split(" ", 1) for l in sys.stdin], key=lambda a: (int(a[0]), a))]))' >> $GITHUB_STEP_SUMMARY
544545
echo "::endgroup::"

0 commit comments

Comments
 (0)