VSExtensibility/.github/workflows/dotnet.yml

26 строки
610 B
YAML

name: .NET
on:
push:
branches: [ "main", "phase-2-docs", "preview" ]
pull_request:
branches: [ "main", "phase-2-docs", "preview" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1.1.3
# - name: Setup dotnet
# uses: actions/setup-dotnet@v3
# with:
# global-json-file: global.json
- name: Restore dependencies
run: msbuild /t:restore New_Extensibility_Model/Samples/Samples.sln
- name: Build
run: msbuild /t:build New_Extensibility_Model/Samples/Samples.sln