added .Net 8 in github action configs #400
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: Windows x64 | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core 3.1 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 3.1.x | |
- name: Setup .NET Core 6.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Setup .NET Core 8.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install Downloader Dependencies | |
run: dotnet restore ./src/Downloader/Downloader.csproj | |
- name: Build Downloader Project | |
run: dotnet build ./src/Downloader/Downloader.csproj | |
- name: Install Downloader.DummyHttpServer Dependencies | |
run: dotnet restore ./src/Downloader.DummyHttpServer/Downloader.DummyHttpServer.csproj | |
- name: Build Downloader.DummyHttpServer Project | |
run: dotnet build ./src/Downloader.DummyHttpServer/Downloader.DummyHttpServer.csproj | |
- name: Install Downloader.Test Dependencies | |
run: dotnet restore ./src/Downloader.Test/Downloader.Test.csproj | |
- name: Build Downloader.Test Project | |
run: dotnet build ./src/Downloader.Test/Downloader.Test.csproj | |
- name: Test | |
run: dotnet test ./src/Downloader.Test/Downloader.Test.csproj --no-build --verbosity detailed |