Skip to content

Commit

Permalink
CI nuget push
Browse files Browse the repository at this point in the history
  • Loading branch information
chullybun committed Oct 26, 2023
1 parent f5eda49 commit 95dd2ed
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,22 @@ jobs:
run: |
dotnet test ./samples/MyEf.Hr/MyEf.Hr.Test --no-build --verbosity normal
dotnet test ./samples/MyEf.Hr/MyEf.Hr.Security.Test --no-build --verbosity normal
# NuGet (local)

- name: NuGet publish
run: |
dotnet nuget add source ./packages --name beef
dotnet nuget push --source beef ./tools/Beef.CodeGen.Core/bin/Debug/Beef.CodeGen.Core.*.nupkg --skip-duplicate
dotnet nuget push --source beef ./tools/Beef.Database.Core/bin/Debug/Beef.Database.Core.*.nupkg --skip-duplicate
dotnet nuget push --source beef ./tools/Beef.Database.SqlServer/bin/Debug/Database.SqlServer.*.nupkg --skip-duplicate
dotnet nuget push --source beef ./tools/Beef.Database.MySql/bin/Debug/Database.MySql.*.nupkg --skip-duplicate
dotnet nuget push --source beef ./tools/Beef.Beef.Test.NUnit/bin/Debug/Beef.Test.NUnit.*.nupkg --skip-duplicate
# Templates

- name: Templates/Beef.Template.Solution build and publish
run: |
dotnet build ./Templates/Beef.Template.Solution
dotnet nuget push --source beef ./Templates/Beef.Template.Solution/bin/Debug/Beef.Template.Solution.*.nupkg --skip-duplicate

0 comments on commit 95dd2ed

Please sign in to comment.