[GHA] VSCode snapshot builds

This commit is contained in:
aboyko
2024-07-12 21:16:57 -04:00
parent 83dfd2bbd7
commit a32ac18ea5
8 changed files with 84 additions and 10 deletions

View File

@@ -2,7 +2,7 @@ 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`
vsix_file=`aws s3 ls s3://$AWS_S3_BUCKET/snapshot/vscode-extensions/$id/ | awk '{$1=$2=$3=""; print $0}' | awk '{$1=$1};1' | grep "\.vsix$"`
if [ ! -z "${vsix_file}" ]; then
echo "<li>${label}: <a href=\"${download_url_root}/snapshot/vscode-extensions/${id}/${vsix_file}\">${vsix_file}</a></li>"
fi