From 39dae8078e714a5f185a18ebcc79a75ba981728f Mon Sep 17 00:00:00 2001 From: Josh Mu Date: Fri, 2 Aug 2024 18:29:31 +1000 Subject: [PATCH] fix: update vsce --- .github/workflows/publish-vscode-extension.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-vscode-extension.yml b/.github/workflows/publish-vscode-extension.yml index 1c05c9b..b12dd04 100644 --- a/.github/workflows/publish-vscode-extension.yml +++ b/.github/workflows/publish-vscode-extension.yml @@ -74,7 +74,7 @@ jobs: npm_config_arch: ${{ matrix.npm_config_arch }} - shell: pwsh run: echo "target=${{ matrix.platform }}-${{ matrix.arch }}" >> $env:GITHUB_ENV - - run: npx vsce package --target ${{ env.target }} + - run: npx @vscode/vsce package --target ${{ env.target }} - uses: actions/upload-artifact@v4 with: name: ${{ env.target }} @@ -87,7 +87,7 @@ jobs: if: success() steps: - uses: actions/download-artifact@v4 - - run: npx vsce publish --packagePath $(find . -iname *.vsix) + - run: npx @vscode/vsce publish --packagePath $(find . -iname *.vsix) env: VSCE_PAT: ${{ secrets.VS_MARKETPLACE_TOKEN }}