Skip to content

Commit 09630e5

Browse files
committed
Build and pack only one csproj during publish
1 parent 8bb8364 commit 09630e5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Restore dependencies
3232
run: dotnet restore ./GeometryDashAPI.sln
3333
- name: Release build
34-
run: dotnet build -c Release ./GeometryDashAPI.sln
34+
run: dotnet build -c Release ./GeometryDashAPI/GeometryDashAPI.csproj
3535
- name: Pack
36-
run: dotnet pack -c Release -o ./pack/ ./GeometryDashAPI.sln
36+
run: dotnet pack -c Release -o ./pack/ ./GeometryDashAPI/GeometryDashAPI.csproj
3737
- name: Push to NuGet
3838
run: dotnet nuget push ./pack/GeometryDashAPI*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate

GeometryDashAPI.Benchmarks/GeometryDashAPI.Benchmarks.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net6.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
86
</PropertyGroup>
97

108
<ItemGroup>

0 commit comments

Comments
 (0)