Skip to content

Commit 72249dc

Browse files
hyangahsuzmue
authored andcommitted
.github/workflows: fix release.yml to use npx vsce for packaging
Updates #2676 Change-Id: Idba55e5976bf85e587a4cef04773c15114446087 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/470975 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Suzy Mueller <suzmue@golang.org>
1 parent 179f226 commit 72249dc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,8 @@ jobs:
8080
npm ci
8181
npm run vscode:prepublish
8282
83-
- name: package
84-
uses: lannonbr/vsce-action@0f3391ee0477b08fae949eb0a875e91e6d20b075
85-
with:
86-
args: "package"
83+
- name: package extension
84+
run: npx vsce package -o "./go-${{ env.EXT_VERSION }}.vsix"
8785

8886
- name: create release
8987
id: create_release
@@ -108,6 +106,6 @@ jobs:
108106

109107
- name: publish
110108
if: env.EXT_ISPREVIEW != 1 && github.repository == 'golang/vscode-go'
111-
run: npx vsce publish -i "./go-nightly-${{ env.VSCODE_GO_VERSION }}.vsix" -p "${{ secrets.VSCE_TOKEN }}"
109+
run: npx vsce publish -i "./go-${{ env.EXT_VERSION }}.vsix" -p "${{ secrets.VSCE_TOKEN }}"
112110

113111
# TODO: check if the commit is in green state. (test-long.yml results)

0 commit comments

Comments
 (0)