From d6711b73d7432da5b45aa2ec693e56c208b71fb9 Mon Sep 17 00:00:00 2001 From: Shannon Date: Fri, 22 Nov 2024 09:16:20 -0700 Subject: [PATCH] update build --- .github/workflows/build.yml | 4 ++-- GitVersion.yml => GitVersion.yml.bak | 0 Smidge.sln | 6 +++--- src/Smidge/SmidgeHelper.cs | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) rename GitVersion.yml => GitVersion.yml.bak (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0b943f..0e8565e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,12 +47,12 @@ jobs: 7.0.x - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v0.9.9 + uses: gittools/actions/gitversion/setup@v3.0.3 with: versionSpec: '5.x' - name: Determine Version - uses: gittools/actions/gitversion/execute@v0.9.9 + uses: gittools/actions/gitversion/execute@v3.0.3 - name: Install dependencies run: dotnet restore ${{ env.Solution_File }} diff --git a/GitVersion.yml b/GitVersion.yml.bak similarity index 100% rename from GitVersion.yml rename to GitVersion.yml.bak diff --git a/Smidge.sln b/Smidge.sln index 65b9807..c331272 100644 --- a/Smidge.sln +++ b/Smidge.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29230.61 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35209.166 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A5154E3B-762A-4720-A947-C7A3EA25835A}" EndProject @@ -13,8 +13,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .gitignore = .gitignore .github\workflows\build.yml = .github\workflows\build.yml src\Directory.Build.props = src\Directory.Build.props - GitVersion.yml = GitVersion.yml LICENSE = LICENSE + GitVersion.yml.bak = GitVersion.yml.bak Nuget.config = Nuget.config README.md = README.md .github\workflows\test-report.yml = .github\workflows\test-report.yml diff --git a/src/Smidge/SmidgeHelper.cs b/src/Smidge/SmidgeHelper.cs index 1135798..f992c1d 100644 --- a/src/Smidge/SmidgeHelper.cs +++ b/src/Smidge/SmidgeHelper.cs @@ -310,6 +310,7 @@ public ISmidgeRequire RequiresCss(params string[] paths) { RequiresCss(new CssFile(path)); } + return this; }