2020-09-05 08:49:50 +02:00
|
|
|
name: Release Extension
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
tags:
|
|
|
|
- release
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-09-05 09:05:09 +02:00
|
|
|
run: yarn install
|
|
|
|
- name: Bump version
|
|
|
|
run: yarn version --minor
|
|
|
|
- name: Build extension
|
|
|
|
run: yarn build
|
2020-09-05 08:49:50 +02:00
|
|
|
- uses: lannonbr/vsce-action@master
|
|
|
|
with:
|
|
|
|
args: "publish -p $VSCE_TOKEN"
|
|
|
|
env:
|
|
|
|
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
|