Skip to content

1.5.3

1.5.3 #9

Workflow file for this run

name: Publish
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Compile
run: npm run compile
- name: Set release tag
id: vars
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Set version
run: npm version $TAG
env:
TAG: ${{ steps.vars.outputs.tag }}
- name: Publish extension
if: success() && startsWith(github.ref, 'refs/tags/')
run: npm run vsce:publish
env:
VSCE_PAT: ${{ secrets.VSCE_TOKEN }}