Skip to content

adding release action #3

adding release action

adding release action #3

Workflow file for this run

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