Skip to content

Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 #312

Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0

Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 #312

Workflow file for this run

name: PR-Build
on:
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-22.04, windows-latest, macos-latest ]
env:
src-directory: ./src
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
# .net Core setup
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.1
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1
- name: Setup .NET 5.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.x
- name: Setup .NET 6.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
# Caching Tools
- name: Cache Tools
uses: actions/cache@v2.1.5
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
# Build
- name: Build Project
uses: cake-build/cake-action@v1
with:
script-path: recipe.cake
target: CI
verbosity: Verbose
cake-version: 1.3.0
cake-bootstrap: true
# Publish
- name: Publish Issues-Report as build artifact
uses: actions/upload-artifact@v2
if: matrix.os == 'windows-latest'
with:
if-no-files-found: warn
name: Issue Report
path: BuildArtifacts/report.html
- name: Publish NuGet package as build artifact
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-22.04'
with:
if-no-files-found: warn
name: NuGet Package
path: BuildArtifacts/Packages/**/*
- name: Publish coverage artifact
uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-22.04'
with:
if-no-files-found: warn
name: Coverage
path: BuildArtifacts/TestCoverage/coverlet/*.xml