From 2dcf33e402a757e47d398bcb18608f35b0db2463 Mon Sep 17 00:00:00 2001 From: bernard Date: Tue, 6 May 2025 01:06:04 +0800 Subject: [PATCH] reserve the vsix file name on the release. --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0c8964..79398f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,10 @@ jobs: env: NODE_ENV: production + - name: Get VSIX file name + id: get_vsix + run: echo "VSIX_FILE=$(ls *.vsix)" >> $GITHUB_ENV + - name: Create GitHub Release id: create_release uses: actions/create-release@v1 @@ -68,6 +72,6 @@ jobs: uses: actions/upload-release-asset@v1 with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./vscode-rt-smart-*.vsix - asset_name: vscode-rt-smart.vsix + asset_path: ${{ env.VSIX_FILE }} + asset_name: ${{ env.VSIX_FILE }} asset_content_type: application/octet-stream