Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Commit e803067

Browse files
committed
Update GitHub Action to publish extension on tag
fixes #86 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
1 parent 912cd69 commit e803067

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/publishTags.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,23 @@ on:
33
tags:
44
- "*"
55

6-
name: Deploy Extension
6+
name: Publish Extension on tag
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v1
12+
- uses: actions/setup-node@v2
1313
with:
14-
node-version: 12
14+
node-version: '16'
15+
cache: 'npm'
1516
- run: npm ci
1617
- name: Publish to Open VSX Registry
17-
uses: HaaLeo/publish-vscode-extension@v0
18+
uses: HaaLeo/publish-vscode-extension@v1
1819
with:
1920
pat: ${{ secrets.OPEN_VSX_TOKEN }}
2021
- name: Publish to Visual Studio Marketplace
21-
uses: HaaLeo/publish-vscode-extension@v0
22+
uses: HaaLeo/publish-vscode-extension@v1
2223
with:
2324
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
2425
registryUrl: https://marketplace.visualstudio.com

0 commit comments

Comments
 (0)