Skip to content

Commit 67a3354

Browse files
committed
build: publish to vscode marketplace
Add github action to automatically publish to VSCode marketplace newly tagged release.
1 parent 60831f8 commit 67a3354

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release extension
33
on:
44
push:
55
tags: ['*']
6+
workflow_dispatch:
67

78
jobs:
89
release:
@@ -26,12 +27,11 @@ jobs:
2627

2728
- name: Create Release
2829
id: create_release
29-
uses: actions/create-release@v1
30+
uses: softprops/action-gh-release@v1
3031
env:
3132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
with:
3334
tag_name: ${{ github.ref }}
34-
release_name: ${{ github.ref }}
3535
body: Release ${{ github.ref }}
3636
draft: false
3737
prerelease: false
@@ -41,3 +41,10 @@ jobs:
4141
with:
4242
upload_url: ${{ steps.create_release.outputs.upload_url }}
4343
asset_path: ./tarantool-lua-debugger-*.vsix
44+
45+
- name: Publish to VSCode Marketplace
46+
uses: lannonbr/vsce-action@3.0.0
47+
with:
48+
args: "publish -p $AZURE_TOKEN"
49+
env:
50+
AZURE_TOKEN: ${{ secrets.AZURE_TOKEN }}

0 commit comments

Comments
 (0)