Skip to content

Commit f334bef

Browse files
committed
[GHA] Store STS4 VSIX snapshots
1 parent d5b142f commit f334bef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/scripts/gen-vscode-link-bullet.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ id=$1
22
label=$2
33
download_url_root=$3
44

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

.github/workflows/snapshot-vscode-extension.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
vsix_file=`ls ./vsix | head -n 1`
5151
echo "VSIX file to upload ${vsix_file}"
52-
s3_path=snapshot/vscode-extensions/${{ inputs.extension-name }}
52+
s3_path=snapshot/sts4/vscode-extensions/${{ inputs.extension-name }}
5353
echo "S3 path: ${s3_path}"
5454
aws s3 rm s3://$AWS_S3_BUCKET/$s3_path/ --recursive
5555
aws s3 cp ./vsix/$vsix_file s3://$AWS_S3_BUCKET/$s3_path/$vsix_file --no-progress --checksum-algorithm CRC32

0 commit comments

Comments
 (0)