Fix/dotnet 8 upgrade #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: [ develop, main ] | |
pull_request: | |
branches: [ develop, main ] | |
env: | |
# Disable sending .NET CLI telemetry to Microsoft. | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
jobs: | |
build: | |
name: Build-${{matrix.os}} | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- name: 'Checkout Source Code' | |
uses: actions/checkout@v3 | |
- name: 'Install .NET Core 8.0.x SDK' | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: 'Restore .NET Dependencies' | |
run: dotnet restore | |
- name: 'Execute Dotnet Build' | |
run: dotnet build --no-restore | |
- name: 'Execute Dotnet Test' | |
run: dotnet test --no-build --verbosity normal |