24 lines
480 B
YAML
24 lines
480 B
YAML
name: Release Extension
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags:
|
|
- release
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
run: yarn install
|
|
- name: Bump version
|
|
run: yarn version --minor
|
|
- name: Build extension
|
|
run: yarn build
|
|
- uses: lannonbr/vsce-action@master
|
|
with:
|
|
args: "publish -p $VSCE_TOKEN"
|
|
env:
|
|
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
|