File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1212 - name : Setup .NET Core 3.1
1313 uses : actions/setup-dotnet@v1
1414 with :
15- dotnet-version : 3.1.403
16- - name : Create NuGet.Config.template
17- run : echo '<?xml version="1.0" encoding="utf-8"?><configuration><packageSources><add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /><add key="GitHub" value="https://nuget.pkg.github.com/managed-commons/index.json" /></packageSources><packageSourceCredentials><GitHub><add key="Username" value="managed-commons" /><add key="ClearTextPassword" value="GH_TOKEN" /></GitHub></packageSourceCredentials></configuration>' > NuGet.Config.template
18- - name : Setup Nuget.Config
19- run : sed -e "s/GH_TOKEN/${{ secrets.RegistryToken }}/" NuGet.Config.template > NuGet.Config
20- - name : Test with dotnet
15+ dotnet-version : 3.1.403
16+ - name : Build and Test with dotnet
2117 run : NONET461=true dotnet test --configuration Release -v:m | grep -v 'NAME_UNKNOWN:Package'
22- - name : Push nuget
23- run : echo 'dotnet nuget push `pwd`/.nugets/*.nupkg -s GitHub'
You can’t perform that action at this time.
0 commit comments