Skip to content

Update to correct path #6

Update to correct path

Update to correct path #6

Workflow file for this run

name: dotnet-desktop
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
env:
Solution_Name: ValheimServer/ValheimServer.sln
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore $env:Solution_Name
- name: Build
run: dotnet build $env:Solution_Name --no-restore --configuration Release
- name: Run StyleCop Analyzers
run: dotnet build $env:Solution_Name --no-restore --configuration Release /p:TreatWarningsAsErrors=true