vsc-material-theme/.github/workflows/release.yml
2020-09-05 09:32:32 +02:00

20 lines
396 B
YAML

name: Release Extension
on:
push:
tags:
- v*
jobs:
release:
runs-on: ubuntu-latest
if: contains(github.ref, 'tag')
steps:
- uses: actions/checkout@v2
- name: Build extension
run: yarn build
- uses: lannonbr/vsce-action@master
with:
args: "publish -p $VSCE_TOKEN"
env:
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}