Skip to content

添加跳过式合并的支持 #124

添加跳过式合并的支持

添加跳过式合并的支持 #124

Workflow file for this run

name: .NET Build & Test
on:
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Build the solution
run: msbuild /p:Configuration=$env:Configuration -restore
env:
Configuration: ${{ matrix.configuration }}
- name: Test
run: dotnet test --configuration $env:Configuration --no-build
env:
Configuration: ${{ matrix.configuration }}