Check available dotnet version

Former-commit-id: c444230f0d
This commit is contained in:
Malte Rosenbjerg 2020-12-06 00:40:49 +01:00
parent 2f2f3328d3
commit 74b4e5b421
2 changed files with 2 additions and 6 deletions

View file

@ -18,8 +18,6 @@ jobs:
- name: Prepare FFMpeg - name: Prepare FFMpeg
run: sudo apt-get update && sudo apt-get install -y ffmpeg run: sudo apt-get update && sudo apt-get install -y ffmpeg
- name: Setup .NET Core - name: Setup .NET Core
uses: actions/setup-dotnet@v1 run: dotnet --version
with:
dotnet-version: 5.0
- name: Test with dotnet - name: Test with dotnet
run: dotnet test --logger GitHubActions run: dotnet test --logger GitHubActions

View file

@ -9,9 +9,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Setup .NET Core - name: Setup .NET Core
uses: actions/setup-dotnet@v1 run: dotnet --version
with:
dotnet-version: 5.0
- name: Build solution - name: Build solution
run: dotnet build --output build run: dotnet build --output build
- name: Publish NuGet package - name: Publish NuGet package