Skip to content

Fixed compile errors by making the code only work with .NET 8. #107

Fixed compile errors by making the code only work with .NET 8.

Fixed compile errors by making the code only work with .NET 8. #107

Workflow file for this run

name: .NET Core
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@main
- name: Install latest .NET 7 SDK
uses: Elskom/setup-latest-dotnet@main
with:
SDK_VERSION: '7.0.202'
RUNTIME_VERSIONS: ''
- name: Install Elskom workload
uses: nick-invision/retry@master
with:
timeout_minutes: 2
max_attempts: 50
retry_on: error
command: |
dotnet tool restore
dotnet tool run elskom-check -- install # this will install the entire workload.
- name: Restore, and Build
uses: Elskom/build-dotnet@main
with:
RESTORE: true
PACK: false
PUSH: false