aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-09-10 12:22:28 +0300
committerGitHub <noreply@github.com>2024-09-10 12:22:28 +0300
commitf3a1a6271b5375688cb0608efd644334cc28bbc9 (patch)
treeff6f62638c86bf68f45e6bd57e41dfd4285426bc
parent70012021655d2f50f4ed00e4a4334e66b5f37e52 (diff)
downloadydb-f3a1a6271b5375688cb0608efd644334cc28bbc9.tar.gz
Add link to s3 artifacts (#9001)
-rw-r--r--.github/actions/test_ya/action.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/test_ya/action.yml b/.github/actions/test_ya/action.yml
index da5408b7db..824f327c9e 100644
--- a/.github/actions/test_ya/action.yml
+++ b/.github/actions/test_ya/action.yml
@@ -148,6 +148,7 @@ runs:
shell: bash
run: |
set -x
+ echo "Artifacts will be uploaded [here](${PUBLIC_DIR_URL}/index.html)" | GITHUB_TOKEN="${{ github.token }}" .github/scripts/tests/comment-pr.py
ORIGINAL_HEAD=$(git rev-parse HEAD)
@@ -538,7 +539,7 @@ runs:
set -x
echo "::group::s3-sync"
.github/scripts/Indexer/indexer.py -r "$PUBLIC_DIR/"
- echo "00 [Workflow artifacts](${S3_URL_PREFIX}/index.html)" >> $SUMMARY_LINKS
+ echo "00 [Artifacts](${PUBLIC_DIR_URL}/index.html)" >> $SUMMARY_LINKS
s3cmd sync --follow-symlinks --acl-public --no-progress --stats --no-check-md5 "$PUBLIC_DIR/" "$S3_BUCKET_PATH/"
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
echo "::endgroup::"