[GHA] Prepare to run VSCode extension snapshot builds

This commit is contained in:
aboyko
2024-07-12 20:55:40 -04:00
parent 2ca4e157b7
commit 31b12d8b47
3 changed files with 68 additions and 2 deletions

8
.github/scripts/gen-vscode-link-bullet.sh vendored Executable file
View File

@@ -0,0 +1,8 @@
id=$1
label=$2
download_url_root=$3
vsix_file=`aws s3 cp s3://$AWS_S3_BUCKET/snapshot/vscode-extensions/$id/ . --exclude "*" --include "*.vsix" --exclude "*/*" --dryrun | head -n 1`
if [ ! -z "${vsix_file}" ]; then
echo "<li>${label}: <a href=\"${download_url_root}/snapshot/vscode-extensions/${id}/${vsix_file}\">${vsix_file}</a></li>"
fi