Skip to content

Commit

Permalink
Try to fix nuget resolution on build
Browse files Browse the repository at this point in the history
  • Loading branch information
monoman committed Nov 21, 2019
1 parent 00eba75 commit ea7124a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ jobs:
dotnet-version: 2.2.207
- name: Install additional dotnet 3.0
run: sudo apt-get install dotnet-sdk-3.0
- name: Build and test with dotnet
- name: Create NuGet.Config.template
run: echo '<?xml version="1.0" encoding="utf-8"?><configuration><packageSources><add key="GitHub" value="https://nuget.pkg.github.com/interlockledger/index.json" /></packageSources><packageSourceCredentials><GitHub><add key="Username" value="interlockledger" /><add key="ClearTextPassword" value="GH_TOKEN" /></GitHub></packageSourceCredentials></configuration>' > NuGet.Config.template
- name: Setup Nuget.Config
run: sed -e "s/GH_TOKEN/${{ secrets.RegistryToken }}/" NuGet.Config.template > NuGet.Config
- name: Test with dotnet
run: dotnet test --configuration Release -v:m

0 comments on commit ea7124a

Please sign in to comment.