Skip to content

Commit e686e0b

Browse files
add push to nuget to github
1 parent deb5192 commit e686e0b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ jobs:
1515
dotnet-version: 2.2.108
1616
- name: Build with dotnet
1717
run: dotnet build --configuration Release
18+
- name: Push NuGet packages - Nightly Builds
19+
run: |
20+
dotnet pack --configuration Release
21+
dotnet nuget push "bin/Release/querybuilder.1.0.0.nupkg" --source "github"

nuget.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear />
5+
<add key="github" value="https://nuget.pkg.github.com/OWNER/index.json" />
6+
</packageSources>
7+
</configuration>

0 commit comments

Comments
 (0)