Skip to content

Commit f2fef90

Browse files
committed
refactor: Replace vsce publish with tfx extension publish in release workflow
1 parent 7abe752 commit f2fef90

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ jobs:
4848
name: vsix-package
4949
path: '*.vsix'
5050

51-
- name: Install vsce
52-
run: npm install -g @vscode/vsce
53-
5451
- name: Publish to Visual Studio Marketplace
55-
run: vsce publish --pat $VSCE_TOKEN --no-verify
52+
run: tfx extension publish --vsix $(ls *.vsix) --token $(AZURE_DEVOPS_PAT)
5653
env:
57-
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
54+
AZURE_DEVOPS_PAT: ${{ secrets.AZURE_DEVOPS_PAT }}

0 commit comments

Comments
 (0)