Skip to content

[GHA] Store STS4 VSIX snapshots #1623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/gen-vscode-link-bullet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ id=$1
label=$2
download_url_root=$3

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$"`
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$"`
if [ ! -z "${vsix_file}" ]; then
echo "<li>${label}: <a href=\"${download_url_root}/snapshot/vscode-extensions/${id}/${vsix_file}\">${vsix_file}</a></li>"
echo "<li>${label}: <a href=\"${download_url_root}/snapshot/sts4/vscode-extensions/${id}/${vsix_file}\">${vsix_file}</a></li>"
fi
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-vscode-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: |
vsix_file=`ls ./vsix | head -n 1`
echo "VSIX file to upload ${vsix_file}"
s3_path=snapshot/vscode-extensions/${{ inputs.extension-name }}
s3_path=snapshot/sts4/vscode-extensions/${{ inputs.extension-name }}
echo "S3 path: ${s3_path}"
aws s3 rm s3://$AWS_S3_BUCKET/$s3_path/ --recursive
aws s3 cp ./vsix/$vsix_file s3://$AWS_S3_BUCKET/$s3_path/$vsix_file --no-progress --checksum-algorithm CRC32
Expand Down
Loading