File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed
Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 2626 dotnet-version : ' 9.0.304'
2727
2828 - name : Prepare NuGet.config (GitHub Packages + nuget.org)
29- run : dotnet nuget list source --configfile ./nuget.config
29+ run : |
30+ cat > ./nuget.config <<'EOF'
31+ <?xml version="1.0" encoding="utf-8"?>
32+ <configuration>
33+ <packageSources>
34+ <add key="github" value="https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" />
35+ <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
36+ </packageSources>
37+ <packageSourceCredentials>
38+ <github>
39+ <add key="Username" value="${{ github.actor }}" />
40+ <add key="ClearTextPassword" value="${{ secrets.GITHUB_TOKEN }}" />
41+ </github>
42+ </packageSourceCredentials>
43+ </configuration>
44+ EOF
45+ dotnet nuget list source --configfile ./nuget.config
3046
3147 - name : Set VERSION suffix for CI
3248 run : echo "VERSION_SUFFIX=-ci-$(date +'%Y%m%d%H%M%S').${{ github.run_number }}" >> $GITHUB_ENV
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments