From 74b4e5b421d7bfc7e0fbecc04b38254b0cc92602 Mon Sep 17 00:00:00 2001 From: Malte Rosenbjerg Date: Sun, 6 Dec 2020 00:40:49 +0100 Subject: [PATCH] Check available dotnet version Former-commit-id: c444230f0de4d82a37e8c1e1509919c58e7be504 --- .github/workflows/ci.yml | 4 +--- .github/workflows/release.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a565a2f..14ebbf8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,6 @@ jobs: - name: Prepare FFMpeg run: sudo apt-get update && sudo apt-get install -y ffmpeg - name: Setup .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 5.0 + run: dotnet --version - name: Test with dotnet run: dotnet test --logger GitHubActions diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dfd03e..aaac864 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Setup .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 5.0 + run: dotnet --version - name: Build solution run: dotnet build --output build - name: Publish NuGet package