[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

View File

@@ -43,7 +43,7 @@ jobs:
run: |
${{ github.workspace }}/.github/scripts/build-vscode-extension.sh ${{ inputs.extension-name }} ${{ inputs.dist }}
ls ./vsix
- name: Upload Release
- name: Upload VSIX
id: upload-release
if: ${{ inputs.dist == 'release' }}
run: |
@@ -58,7 +58,7 @@ jobs:
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
echo "version=$base_version" >> $GITHUB_OUTPUT
echo "s3_url=https://cdn.spring.io/spring-tools/$s3_path/$vsix_file" >> $GITHUB_OUTPUT
echo "s3_url=${DOWNLOAD_URL_ROOT}/$s3_path/$vsix_file" >> $GITHUB_OUTPUT
- id: tools-team-slack
if: ${{ inputs.dist == 'release' }}
uses: slackapi/slack-github-action@v1.26