Skip to content

log

log #10

Workflow file for this run

name: .NET CI
on:
workflow_dispatch:
push:
branches: [master, dev]
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
- name: Packup
run: zip -j /tmp/ci.zip out/*.pext
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: ci.zip
path: |
/tmp/ci.zip