Skip to content

Commit ffe2469

Browse files
committed
2 parents 247ee2d + bd3f104 commit ffe2469

2 files changed

Lines changed: 22 additions & 4 deletions

File tree

‎.github/workflows/dotnetcore.yml‎

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff 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

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ A .NET 10 library providing infrastructure for data access patterns including **
2626

2727
---
2828

29+
2930
## Overview
3031

3132
SilverCodeAPI is a collection of NuGet packages that provide:

0 commit comments

Comments
 (0)