Skip to content

Commit

Permalink
Adds vsix-build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
baflo committed Sep 24, 2024
1 parent fec80d3 commit a8acd85
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/create-vsix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
tags:
- "*"

name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- name: Create package
uses: HaaLeo/publish-vscode-extension@v1
with:
dryRun: true
pat: https://stub.value
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${tag#v}" \
--generate-notes

0 comments on commit a8acd85

Please sign in to comment.