diff options
| author | bors <bors@rust-lang.org> | 2024-04-03 16:16:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-03 16:16:52 +0000 |
| commit | 703dc9ce64d9b31a239a7280d9b5f9ddd85ffed6 (patch) | |
| tree | c39cc52942d7e2c3871c4fbd22dbba1356176583 /src/ci/scripts | |
| parent | ceab6128fa48a616bfd3e3adf4bc80133b8ee223 (diff) | |
| parent | 658c8f73677696ff2f37ea1cbd5d667d2562ccbf (diff) | |
| download | rust-703dc9ce64d9b31a239a7280d9b5f9ddd85ffed6.tar.gz rust-703dc9ce64d9b31a239a7280d9b5f9ddd85ffed6.zip | |
Auto merge of #123416 - matthiaskrgr:rollup-j85wj05, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #123209 (Add section to sanitizer doc for `-Zexternal-clangrt`) - #123342 (x.py test: remove no-op --skip flag) - #123382 (Assert `FnDef` kind) - #123386 (Set `CARGO` instead of `PATH` for Rust Clippy) - #123393 (rustc_ast: Update `P<T>` docs to reflect mutable status.) - #123394 (Postfix match fixes) - #123412 (Output URLs of CI artifacts to GitHub summary) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/upload-artifacts.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ci/scripts/upload-artifacts.sh b/src/ci/scripts/upload-artifacts.sh index 9755edb6dce..c9c85ec20b4 100755 --- a/src/ci/scripts/upload-artifacts.sh +++ b/src/ci/scripts/upload-artifacts.sh @@ -45,3 +45,17 @@ deploy_url="s3://${DEPLOY_BUCKET}/${deploy_dir}/$(ciCommit)" retry aws s3 cp --storage-class INTELLIGENT_TIERING \ --no-progress --recursive --acl public-read "${upload_dir}" "${deploy_url}" + +access_url="https://ci-artifacts.rust-lang.org/${deploy_dir}/$(ciCommit)" + +# Output URLs to the uploaded artifacts to GitHub summary (if it is available) +# to make them easily accessible. +if [ -n "${GITHUB_STEP_SUMMARY}" ] +then + echo "# CI artifacts" >> "${GITHUB_STEP_SUMMARY}" + + for filename in "${upload_dir}"/*.xz; do + filename=`basename "${filename}"` + echo "- [${filename}](${access_url}/${filename})" >> "${GITHUB_STEP_SUMMARY}" + done +fi |
