Skip to content

Commit

Permalink
ci: fixed breaking changes in new artifiact download action3 (#87)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomer Figenblat <[email protected]>
  • Loading branch information
TomerFi authored Aug 14, 2024
1 parent 13a5edd commit d6b3518
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,18 @@ jobs:
core.setOutput('upload_url', response.data.upload_url)
- name: Create SHA256 checksums for the VSIX packages
working-directory: vsix
run: |
for pkg in ./vsix/*.vsix
for pkg in ./**/*.vsix
do
sha_file=$(echo $pkg | sed 's/\.vsix/\.sha256/g')
sha256sum $pkg > $sha_file
done
- name: Upload packages and checksums as EA release assets
working-directory: vsix
run: |
for file in ./vsix/*.{vsix,sha256}
for file in ./**/*.{vsix,sha256}
do
asset_name=$(basename $file)
upload_url=$(echo "${{ steps.new_release.outputs.upload_url }}" | sed "s/{?name,label}/?name=$asset_name/g")
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,16 @@ jobs:
- name: Create SHA256 checksums for the VSIX packages
working-directory: vsix
run: |
for pkg in ./vsix/*.vsix
for pkg in ./**/*.vsix
do
sha_file=$(echo $pkg | sed 's/\.vsix/\.sha256/g')
sha256sum $pkg > $sha_file
done
- name: Upload packages and checksums as EA release assets
working-directory: vsix
run: |
for file in ./vsix/*.{vsix,sha256}
for file in ./**/*.{vsix,sha256}
do
asset_name=$(basename $file)
upload_url=$(echo "${{ steps.new_release.outputs.upload_url }}" | sed "s/{?name,label}/?name=$asset_name/g")
Expand Down

0 comments on commit d6b3518

Please sign in to comment.