File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1616 repo-token : ${{ secrets.GITHUB_TOKEN }}
1717 - name : Build with dotnet
1818 run : dotnet build --configuration Release
19+ - name : Setup nuget config
20+ run : sed 's/GITHUB_TOKEN/${{ secrets.GITHUB_TOKEN }}/g' nuget.config > nuget.config
1921 - name : Push NuGet packages - Nightly Builds
2022 run : dotnet pack --configuration Release && dotnet nuget push "bin/Release/querybuilder.1.0.0.nupkg" --source "github"
Original file line number Diff line number Diff line change 22<configuration >
33 <packageSources >
44 <clear />
5+ <add key =" nuget" value =" https://api.nuget.org/v3/index.json" />
56 <add key =" github" value =" https://nuget.pkg.github.com/ahmad-moussawi/index.json" />
67 </packageSources >
8+ <packageSourceCredentials >
9+ <github >
10+ <add key =" Username" value =" ahmad-moussawi" />
11+ <add key =" ClearTextPassword" value =" GITHUB_TOKEN" />
12+ </github >
13+ </packageSourceCredentials >
714</configuration >
You can’t perform that action at this time.
0 commit comments