Skip to content

Commit 21d20e2

Browse files
fix: publish
1 parent 5eca330 commit 21d20e2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ jobs:
2424
run: npm install vsce -g
2525
- name: Compile
2626
run: npm run compile
27-
- name: Publish extension
28-
id: publisher
29-
uses: sigma/[email protected]
30-
with:
31-
vsce_token: ${{ secrets.VSCE_TOKEN }}
32-
build_pkg: yes
27+
- name: Package VSCE
28+
run: vsce package -o ast-grep-vscode.vsix
3329
- name: Create GH Release
3430
uses: softprops/action-gh-release@v1
3531
with:
36-
files: ${{ steps.publisher.ouputs.vsix_path }}
32+
files: ast-grep-vscode.vsix
33+
- name: Publish extension
34+
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}

0 commit comments

Comments
 (0)