Skip to content

Commit 3b73b18

Browse files
committed
Update GitHub actions
1 parent 74e5088 commit 3b73b18

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
# Steps represent a sequence of tasks that will be executed as part of the job
2020
steps:
2121
# Ready everything
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
with:
2424
token: ${{ secrets.GH_PAT }}
2525
ref: ${{ github.head_ref }}
26-
- uses: actions/setup-node@v1
26+
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 16
28+
node-version-file: ".nvmrc"
2929
- run: npm ci
3030

3131
- name: Get tag
@@ -40,13 +40,13 @@ jobs:
4040

4141
- name: Publish to Visual Studio Marketplace
4242
id: publishToMarketplace
43-
uses: HaaLeo/publish-vscode-extension@v1
43+
uses: HaaLeo/publish-vscode-extension@v2
4444
with:
4545
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
4646
registryUrl: https://marketplace.visualstudio.com
4747

4848
- name: Publish to Open VSX Registry
49-
uses: HaaLeo/publish-vscode-extension@v1
49+
uses: HaaLeo/publish-vscode-extension@v2
5050
with:
5151
pat: ${{ secrets.OVSX_TOKEN }}
5252

0 commit comments

Comments
 (0)