Skip to content

Commit 80ae209

Browse files
committed
ci: fix .vsix publishing
1 parent 83c0e13 commit 80ae209

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/publish.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: GitHub release and VSCode Extension publishing
22

33
on:
44
push:
5-
branches:
6-
- main
75
tags:
86
- "v*.*.*"
97
- "v*.*.*-*"
@@ -29,14 +27,15 @@ jobs:
2927
run: yarn deploy
3028
env:
3129
VSCE_PAT: ${{ secrets.VSCE_PAT }}
32-
- name: Upload artifact
33-
uses: actions/upload-artifact@v4
34-
with:
35-
name: VSIX
36-
path: "*.vsix"
30+
# - name: Upload artifact
31+
# uses: actions/upload-artifact@v4
32+
# with:
33+
# name: VSIX
34+
# path: "*.vsix"
3735
- uses: softprops/action-gh-release@v2
3836
with:
3937
generate_release_notes: true
38+
files: "*.vsix"
4039
draft: false
4140
env:
4241
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"test": "yarn run compile && sh ./scripts/e2e.sh",
3131
"format": "prettier --write .",
3232
"format:check": "prettier --check . server client",
33-
"postversion": "git push --tags && git push",
33+
"postversion": "git push --tags && git push --force",
3434
"vscode:prepublish": "yarn run compile"
3535
},
3636
"activationEvents": [

0 commit comments

Comments
 (0)