Skip to content

Commit

Permalink
adding release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchmura committed Dec 18, 2024
1 parent d0578ba commit 473da5d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Create Github Release
on:
push:
tags:
- 'v*' # Run when a version tag (e.g., v1.0.0) is pushed

jobs:
build:
if: github.ref_type == 'tag'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm ci

- name: Build
run: npm run compile

- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
with:
artifacts: "lpc-*.vsix"
bodyFile: "CHANGELOG.md"
prerelease: true

0 comments on commit 473da5d

Please sign in to comment.