File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,11 +21,28 @@ jobs:
2121 - name : Setup .NET Core ${{ env.NETCORE_VERSION }}
2222 uses : actions/setup-dotnet@v1
2323 with :
24- dotnet-version : ${{ env.NETCORE_VERSION }}
25- source-url : ${{ env.PRIVATE_NUGET_PATH }}
26- env :
27- NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
24+ dotnet-version : ${{ env.NETCORE_VERSION }}
2825
26+ - name : Create NuGet config for GitHub Packages
27+ run : |
28+ cat <<EOF > ./nuget.config
29+ <?xml version="1.0" encoding="utf-8"?>
30+ <configuration>
31+ <packageSources>
32+ <clear />
33+ <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
34+ <add key="bigbadjock-github" value="https://nuget.pkg.github.com/bigbadjock/index.json" />
35+ </packageSources>
36+ <packageSourceCredentials>
37+ <bigbadjock-github>
38+ <add key="Username" value="bigbadjock" />
39+ <add key="ClearTextPassword" value="${{ secrets.NUGET_TOKEN }}" />
40+ </bigbadjock-github>
41+ </packageSourceCredentials>
42+ </configuration>
43+ EOF
44+
45+
2946 - name : Restore
3047 run : dotnet restore ./SilverCodeAPI.sln
3148
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ A .NET 10 library providing infrastructure for data access patterns including **
2626
2727---
2828
29+
2930## Overview
3031
3132SilverCodeAPI is a collection of NuGet packages that provide:
You can’t perform that action at this time.
0 commit comments