From ac2fba5934fa7ef0db7104e87e038edc51a521d2 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 7 Nov 2021 23:22:41 +0000 Subject: [PATCH 1/5] (maint) Update dependency NUnit3TestAdapter to v4.1.0 --- src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj b/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj index e0e1cf7..346379a 100644 --- a/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj +++ b/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj @@ -15,7 +15,7 @@ - + From 7a55d516098941a2156db2135e4ea24e9fae525a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 15 Nov 2021 16:08:08 +0000 Subject: [PATCH 2/5] (maint) Update dependency CakeContrib.Guidelines to v1.2.0 --- src/Cake.SPCAF/Cake.SPCAF.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.SPCAF/Cake.SPCAF.csproj b/src/Cake.SPCAF/Cake.SPCAF.csproj index e97cf8a..1e49cd6 100644 --- a/src/Cake.SPCAF/Cake.SPCAF.csproj +++ b/src/Cake.SPCAF/Cake.SPCAF.csproj @@ -37,7 +37,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 517caacf9536481579d6a88a93851fc39487a78b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 24 Nov 2021 09:30:42 +0000 Subject: [PATCH 3/5] (maint) Update actions/setup-dotnet action to v1.9.0 --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5262437..ef13efe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,18 +27,18 @@ jobs: - name: Fetch all tags and branches run: git fetch --prune --unshallow - - uses: actions/setup-dotnet@v1.8.2 + - uses: actions/setup-dotnet@v1.9.0 with: # codecov and unittests need 2.1 dotnet-version: '2.1.818' - - uses: actions/setup-dotnet@v1.8.2 + - uses: actions/setup-dotnet@v1.9.0 with: dotnet-version: '3.1.414' - - uses: actions/setup-dotnet@v1.8.2 + - uses: actions/setup-dotnet@v1.9.0 with: # gitversion needs 5.0 dotnet-version: '5.0.402' - - uses: actions/setup-dotnet@v1.8.2 + - uses: actions/setup-dotnet@v1.9.0 with: # need at least .NET 6 rc2 to build dotnet-version: '6.0.100-rc.2.21505.57' From 06cc1da692c5076cbc094ac9f72c44935442dea5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 30 Nov 2021 21:25:45 +0000 Subject: [PATCH 4/5] (maint) Update dependency CakeContrib.Guidelines to v1.3.0 --- src/Cake.SPCAF/Cake.SPCAF.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.SPCAF/Cake.SPCAF.csproj b/src/Cake.SPCAF/Cake.SPCAF.csproj index 1e49cd6..d9b7438 100644 --- a/src/Cake.SPCAF/Cake.SPCAF.csproj +++ b/src/Cake.SPCAF/Cake.SPCAF.csproj @@ -37,7 +37,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 1400c1f4d650d0d0d48ffd038fc7ec725cfa0e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Rosenthal-Buroh?= <22403655+JuergenRB@users.noreply.github.com> Date: Wed, 8 Dec 2021 22:38:06 +0100 Subject: [PATCH 5/5] Update to Cake 2.0.0 (#33) --- .github/workflows/build.yml | 27 ++++++++------------ README.md | 3 +++ sample/script/.config/dotnet-tools.json | 2 +- src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj | 6 ++--- src/Cake.SPCAF/Cake.SPCAF.csproj | 6 ++--- 5 files changed, 19 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef13efe..6294a42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,23 +26,16 @@ jobs: - name: Fetch all tags and branches run: git fetch --prune --unshallow - - - uses: actions/setup-dotnet@v1.9.0 - with: - # codecov and unittests need 2.1 - dotnet-version: '2.1.818' - - uses: actions/setup-dotnet@v1.9.0 - with: - dotnet-version: '3.1.414' - - uses: actions/setup-dotnet@v1.9.0 - with: - # gitversion needs 5.0 - dotnet-version: '5.0.402' - - uses: actions/setup-dotnet@v1.9.0 - with: - # need at least .NET 6 rc2 to build - dotnet-version: '6.0.100-rc.2.21505.57' - include-prerelease: true + + - name: Install .NET SDK + uses: actions/setup-dotnet@v1.9.0 + with: + # all SDKs the project is targeting + codecov and unittests need 2.1 + dotnet-version: | + 2.1.818 + 3.1.x + 5.0.x + 6.0.x - name: Cache Tools uses: actions/cache@v2 diff --git a/README.md b/README.md index 03f23d6..e165e8d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![standard-readme compliant][]][standard-readme] [![NuGet package][nugetimage]][nuget] +[![Cake][cakeimage]][cake] Alias to assist with running SPCAF from Cake build scripts @@ -66,3 +67,5 @@ Small note: If editing the Readme, please conform to the [standard-readme][] spe [license]: LICENSE.txt [standard-readme]: https://github.com/RichardLitt/standard-readme [standard-readme compliant]: https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square +[cakeimage]: https://img.shields.io/static/v1?label=cake&message=v2.0.0&color=8E7D3E&style=flat-square +[cake]: https://cakebuild.net/blog/2021/11/cake-v2.0.0-released diff --git a/sample/script/.config/dotnet-tools.json b/sample/script/.config/dotnet-tools.json index 0037d90..db6b2cb 100644 --- a/sample/script/.config/dotnet-tools.json +++ b/sample/script/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "1.3.0", + "version": "2.0.0", "commands": [ "dotnet-cake" ] diff --git a/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj b/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj index 346379a..1622146 100644 --- a/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj +++ b/src/Cake.SPCAF.Tests/Cake.SPCAF.Tests.csproj @@ -1,17 +1,15 @@ - netcoreapp3.1 - $(TargetFrameworks);net461 + netcoreapp3.1;net5.0;net6.0 $(NoWarn);CS1591;SA1600 - false - + diff --git a/src/Cake.SPCAF/Cake.SPCAF.csproj b/src/Cake.SPCAF/Cake.SPCAF.csproj index d9b7438..b5d4712 100644 --- a/src/Cake.SPCAF/Cake.SPCAF.csproj +++ b/src/Cake.SPCAF/Cake.SPCAF.csproj @@ -1,6 +1,6 @@ - netstandard2.0;net461 + netcoreapp3.1;net5.0;net6.0 true true snupkg @@ -18,7 +18,7 @@ Alias to assist with running SPCAF from Cake build scripts MIT https://github.com/juro-org/Cake.SPCAF - cake;addin;build;cake-build;cake-addin;spcaf;sharepoint + cake;addin;build;cake-build;cake-addin;spcaf;sharepoint;script https://github.com/juro-org/Cake.SPCAF.git README.md https://github.com/juro-org/Cake.SPCAF/releases/tag/$(Version) @@ -36,7 +36,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive