Skip to content

Commit

Permalink
build: add github action workflow to build vsix file on tag (heybourn…
Browse files Browse the repository at this point in the history
…#123)

Co-authored-by: Praveen Perera <[email protected]>
  • Loading branch information
petertriho and praveenperera authored May 11, 2021
1 parent fe393dc commit a0ca452
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
tags:
- "*"

name: Build vsix

jobs:
build:
name: Build vsix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install
run: |
npm install
npm install -g vsce
- name: Build
run: |
vsce package
- name: Release
uses: softprops/action-gh-release@v1
with:
prerelease: true
fail_on_unmatched_files: true
files: |
*.vsix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a0ca452

Please sign in to comment.