Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 #458
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- release-* | |
pull_request: | |
workflow_dispatch: | |
env: | |
DOTNET_NOLOGO: true | |
jobs: | |
build: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: windows-2019 | |
name: Windows | |
- os: ubuntu-20.04 | |
name: Linux | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.6.0 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3.2.0 | |
with: | |
dotnet-version: 6.0.x | |
- name: Setup .NET Core 3.1 runtime | |
uses: actions/setup-dotnet@v3.2.0 | |
with: | |
dotnet-version: 3.1.x | |
- name: Build | |
run: dotnet build src --configuration Release | |
- name: Upload packages | |
if: matrix.name == 'Windows' | |
uses: actions/upload-artifact@v3.1.2 | |
with: | |
name: NuGet packages | |
path: nugets/ | |
retention-days: 7 | |
- name: Run tests | |
uses: Particular/run-tests-action@v1.6.0 |