Skip to content

modgen 1.51 / vscode 1.51 #201

modgen 1.51 / vscode 1.51

modgen 1.51 / vscode 1.51 #201

Workflow file for this run

name: Publish TopModel.VSCode
on:
push:
paths:
- TopModel.VSCode/package.json
jobs:
build_and_deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- run: dotnet publish -f net8.0
name: Build LS
working-directory: TopModel.LanguageServer
- run: dotnet publish -f net6.0
name: Build LS
working-directory: TopModel.LanguageServer
- run: npm ci
working-directory: TopModel.VSCode
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{secrets.VS_MARKETPLACE_API_KEY}}
registryUrl: https://marketplace.visualstudio.com
packagePath: TopModel.VSCode