Skip to content

Adds vsix asset to release #2

Adds vsix asset to release

Adds vsix asset to release #2

Workflow file for this run

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
id: createPackage
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 \
"${{ steps.createPackage.outputs.vsixPath }}#VSCode Extension Package File"