diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c767278..18f8876 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -43,11 +43,15 @@ jobs: with: fetch-depth: 0 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '5.0.x' + - name: Setup .NET uses: actions/setup-dotnet@v1 with: dotnet-version: '6.0.x' - include-prerelease: true # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 13ccdd2..d181b39 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -21,11 +21,15 @@ jobs: with: fetch-depth: 0 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '5.0.x' + - name: Setup .NET uses: actions/setup-dotnet@v1 with: dotnet-version: '6.0.x' - include-prerelease: true - name: Restore dependencies run: dotnet restore diff --git a/.github/workflows/release-nuget.yml b/.github/workflows/release-nuget.yml index 21c4a73..5008d3a 100644 --- a/.github/workflows/release-nuget.yml +++ b/.github/workflows/release-nuget.yml @@ -21,11 +21,15 @@ jobs: with: fetch-depth: 0 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '5.0.x' + - name: Setup .NET uses: actions/setup-dotnet@v1 with: dotnet-version: '6.0.x' - include-prerelease: true - name: Restore dependencies run: dotnet restore diff --git a/Our.Umbraco.TagHelpers.Playground/Our.Umbraco.TagHelpers.Playground.csproj b/Our.Umbraco.TagHelpers.Playground/Our.Umbraco.TagHelpers.Playground.csproj index 3bd7364..ced3e5f 100644 --- a/Our.Umbraco.TagHelpers.Playground/Our.Umbraco.TagHelpers.Playground.csproj +++ b/Our.Umbraco.TagHelpers.Playground/Our.Umbraco.TagHelpers.Playground.csproj @@ -1,14 +1,14 @@  - net6.0 + net5.0 $(DefaultItemExcludes);App_Plugins/**; $(DefaultItemExcludes);umbraco/**; $(DefaultItemExcludes);wwwroot/media/**; - + diff --git a/Our.Umbraco.TagHelpers.Tests/Our.Umbraco.TagHelpers.Tests.csproj b/Our.Umbraco.TagHelpers.Tests/Our.Umbraco.TagHelpers.Tests.csproj index 73f37a8..17d9946 100644 --- a/Our.Umbraco.TagHelpers.Tests/Our.Umbraco.TagHelpers.Tests.csproj +++ b/Our.Umbraco.TagHelpers.Tests/Our.Umbraco.TagHelpers.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net5.0 false @@ -9,10 +9,13 @@ - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/Our.Umbraco.TagHelpers/Our.Umbraco.TagHelpers.csproj b/Our.Umbraco.TagHelpers/Our.Umbraco.TagHelpers.csproj index c888533..e3b7fd3 100644 --- a/Our.Umbraco.TagHelpers/Our.Umbraco.TagHelpers.csproj +++ b/Our.Umbraco.TagHelpers/Our.Umbraco.TagHelpers.csproj @@ -1,7 +1,7 @@  - net6.0 + net5.0;net6.0 @@ -32,15 +32,15 @@ - + - - + + - - + +