Skip to content

reason log

reason log #15

Workflow file for this run

name: .NET CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
env:
SOLUTION: src/Playnite.Extensions.sln
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
# required for LangVersion 10
- name: Setup .NET 6.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Clear local NuGet cache (workaround for failed restores on windows-latest)
run: dotnet clean $env:SOLUTION && dotnet nuget locals all --clear
- name: Restore dependencies
run: dotnet restore $env:SOLUTION
- name: Build
run: dotnet build $env:SOLUTION --no-restore