Skip to content

Commit

Permalink
swaps workflow to release on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
danprince committed Jul 2, 2022
1 parent 39f4c12 commit 0299dfc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/build.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create Release

on:
push:
tags:
- 'v*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- run: yarn install --frozen-lockfile
- run: yarn build
- uses: ncipollo/release-action@v1
with:
artifacts: "*.vsix"
body: ${{ github.event.head_commit.message }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0299dfc

Please sign in to comment.