Skip to content

Commit 0afcb60

Browse files
committed
fix release.yml
1 parent 6af7922 commit 0afcb60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ jobs:
4242
shell: bash
4343
run: >
4444
npx vsce package;
45-
echo "vsix_path=$(find . -type f -name '*.vsix')" >> $GITHUB_ENV
45+
echo "vsix_path=$(ls *.vsix)" >> $GITHUB_ENV
4646
4747
- name: Upload .vsix file to Github as release asset
4848
uses: actions/upload-release-asset@v1
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
with:
5252
upload_url: ${{ github.event.release.upload_url }}
53-
asset_path: ${{ env.vsix_path }}
53+
asset_path: code-debug/${{ env.vsix_path }}
5454
asset_name: ${{ env.vsix_path }}
5555
asset_content_type: application/zip
5656

0 commit comments

Comments
 (0)