Skip to content

Commit

Permalink
Use dotnet pack command (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbtbir authored Feb 2, 2023
1 parent ec6ad1a commit a77f3eb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 68 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ jobs:

- name: Package NuGet
run: |
nuget pack ../nuspec/nuget/BBT.StructureTools.nuspec
nuget pack ../nuspec/nuget/BBT.StructureTools.Extensions.nuspec
dotnet pack -c $BUILD_CONFIG -p:PackageVersion=$BUILD_VERSION
- name: Publish NuGet
run: |
nuget push ./BBT.StructureTools.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
nuget push ./BBT.StructureTools.Extensions.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
nuget push ./BBT.StructureTools/bin/Release/BBT.StructureTools.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
nuget push ./BBT.StructureTools.Extensions/bin/Release/BBT.StructureTools.Extensions.$BUILD_VERSION.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGETORG}}
32 changes: 0 additions & 32 deletions nuspec/nuget/BBT.StructureTools.Extensions.nuspec

This file was deleted.

32 changes: 0 additions & 32 deletions nuspec/nuget/BBT.StructureTools.nuspec

This file was deleted.

Binary file removed nuspec/nuget/icon.png
Binary file not shown.

0 comments on commit a77f3eb

Please sign in to comment.