Skip to content

Commit 145766f

Browse files
committed
All github action yml files use windows-latest
- Reverted to using dotnet pack with a slnf file - Removed hardcoded references to Microsft.Webapplication.targets in Spark.JsTests.csproj
1 parent 4ad94c6 commit 145766f

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
build:
1414

15-
runs-on: windows-2019
15+
runs-on: windows-latest
1616

1717
steps:
1818
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ jobs:
3333
- name: Pack
3434
run: |
3535
cd src
36-
dotnet pack Spark/Spark.csproj --include-symbols --output nupkgs --no-build
37-
dotnet pack Spark.Web/Spark.Web.csproj --include-symbols --output nupkgs --no-build
38-
dotnet pack Spark.Web.Mvc/Spark.Web.Mvc.csproj --include-symbols --output nupkgs --no-build
39-
dotnet pack Spark.AspNetCore.Mvc/Spark.AspNetCore.MVc.csproj --include-symbols --output nupkgs --no-build
36+
dotnet pack spark-pack.slnf --include-symbols --output nupkgs --no-build
4037
- name: Push to NuGet
4138
run: |
4239
cd src/nupkgs

src/Spark.JsTests/Spark.JsTests.csproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,4 @@
2020
<Reference Include="System.Web" />
2121
<Reference Include="System.Web.Services" />
2222
</ItemGroup>
23-
24-
<PropertyGroup>
25-
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
26-
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
27-
</PropertyGroup>
28-
<!-- order is important! -->
29-
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
30-
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" />
3123
</Project>

0 commit comments

Comments
 (0)