diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index fbb01a7..d832c19 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,6 +1,6 @@ name: .NET build and test env: - CURRENT_VERSION: 3.0.${{ github.run_number }} + CURRENT_VERSION: 2.0.${{ github.run_number }} LAST_COMMIT_MESSAGE: ${{ github.event.head_commit.message }} on: @@ -59,7 +59,7 @@ jobs: ./ImageSharpCompare/bin/Release/*.snupkg deployTest: - if: github.ref != 'refs/heads/release' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest needs: build steps: diff --git a/ImageSharpCompare/ImageSharpCompare.csproj b/ImageSharpCompare/ImageSharpCompare.csproj index bf0525a..54715ce 100644 --- a/ImageSharpCompare/ImageSharpCompare.csproj +++ b/ImageSharpCompare/ImageSharpCompare.csproj @@ -1,6 +1,6 @@  - net6.0 + netstandard2.0 true true https://github.com/Codeuctivity/ImageSharp.Compare @@ -43,9 +43,9 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/ImageSharpCompareTestNunit/ImageSharpCompareTestNunit.csproj b/ImageSharpCompareTestNunit/ImageSharpCompareTestNunit.csproj index 60a79eb..e2f5578 100644 --- a/ImageSharpCompareTestNunit/ImageSharpCompareTestNunit.csproj +++ b/ImageSharpCompareTestNunit/ImageSharpCompareTestNunit.csproj @@ -1,7 +1,8 @@  - net6.0 + net48;net6.0 + net6.0 false 8.0 enable @@ -14,15 +15,15 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + all runtime; build; native; contentfiles; analyzers; buildtransitive - +