Skip to content

Commit

Permalink
action to release vsix on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Donham committed Jul 24, 2024
1 parent 4d0e094 commit 84d9749
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
File renamed without changes.
41 changes: 41 additions & 0 deletions .github/workflows/vsix-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release VSIX

on:
push:
tags:
- "*"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline

- name: Package VSIX
working-directory: packages/vscode
run: pnpm run package

- name: Publish release
uses: softprops/action-gh-release@v2
with:
files: |
packages/vscode/*.vsix

0 comments on commit 84d9749

Please sign in to comment.