Skip to content

Capturing Test run data from Developer Local Machines #14

Capturing Test run data from Developer Local Machines

Capturing Test run data from Developer Local Machines #14

Workflow file for this run

name: .NET Core Build
on:
pull_request:
env:
NETCORE_VERSION: '7.0'
GIT_REPO_ROOT: src
SOLUTION_FILE: DotnetBuildMetrics.sln
DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX: 2
jobs:
build:
name: Build Package
runs-on: windows-latest # using windows agent for net472 build.
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK ${{ env.NETCORE_VERSION }}
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.NETCORE_VERSION }}
- name: Restore
working-directory: ${{ env.GIT_REPO_ROOT }}
run: dotnet restore ${{ env.SOLUTION_FILE }}
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- name: Build
working-directory: ${{ env.GIT_REPO_ROOT }}
run: dotnet build ${{ env.SOLUTION_FILE }} --configuration Debug --no-restore