diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5081a23..cc43fe7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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") diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index bb2ec22..956ea51 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -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")