Skip to content

Fix runtime errors

Fix runtime errors #60

name: Dotnet Desktop
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Restore workloads
run: dotnet workload restore
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish Sanara
run: dotnet publish -f net9.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 -p:WindowsPackageType=None