Skip to content

v1.0.5

v1.0.5 #7

Workflow file for this run

name: Publish extension
on:
push:
tags:
- v*
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lockfile
# - name: Publish to Open VSX Registry
# uses: HaaLeo/publish-vscode-extension@v1
# with:
# pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
id: publishToVsm
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
yarn: true
- name: Create Release
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
generate_release_notes: true
files: ${{ steps.publishToVsm.outputs.vsixPath }}
token: ${{ secrets.GITHUB_TOKEN }}