Skip to content

Commit 1fcf93d

Browse files
authored
Update nuget-package.yml
1 parent bf52fa1 commit 1fcf93d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/nuget-package.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ jobs:
2424
- name: Restore dependencies
2525
run: dotnet restore
2626

27+
- name: Build project
28+
run: dotnet build src/Gml.Core.Interfaces/Gml.Core.Interfaces.csproj --configuration Release
29+
2730
- name: Pack NuGet package
28-
run: dotnet pack src/Gml.Core.Interfaces/Gml.Core.Interfaces.csproj --configuration Release --output ./nupkgs
31+
run: dotnet pack src/Gml.Core.Interfaces/Gml.Core.Interfaces.csproj --configuration Release --no-build --output ./nupkgs
2932

3033
- name: Publish to NuGet.org
3134
run: dotnet nuget push "./nupkgs/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)