Fix publishing to marketplace (#5)

This commit is contained in:
Pavel 2021-05-27 15:04:28 +03:00 committed by GitHub
parent a3ae73dd86
commit e756255578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,8 @@ on:
# uncomment to release only on tags starting with 'v' # uncomment to release only on tags starting with 'v'
# tags: # tags:
# - "v*" # - "v*"
#branches: branches:
# - "main" - "main"
workflow_dispatch: workflow_dispatch:
@ -53,8 +53,6 @@ jobs:
### Pack vsix package ### Pack vsix package
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
with: with:
node-version: "15" node-version: "15"
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
@ -62,7 +60,7 @@ jobs:
run: | run: |
npm i -g vsce npm i -g vsce
vsce package vsce package
vsce publish vsce publish -p ${{ secrets.VSCE_PAT }}
### create release ### create release
- uses: softprops/action-gh-release@v1 - uses: softprops/action-gh-release@v1