Skip to content

Commit

Permalink
Added publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
sedyh authored Jul 20, 2022
1 parent 100bb6f commit 2f7a9c8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
release:
types:
- published
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/

- name: Install npm
run: npm i

- name: Install vsce
run: npm i -g vsce

- name: Publish extension
run: vsce publish -p ${{ secrets.VSCE_PAT }}

0 comments on commit 2f7a9c8

Please sign in to comment.