dual target net6/net8 + extension en 8 avec auto installer #179
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 16 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- run: dotnet publish | |
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 |