Skip to content

Commit

Permalink
Moved NuGet.Config away from project root because it's disruptive loc…
Browse files Browse the repository at this point in the history
…ally
  • Loading branch information
DevilPepper committed Dec 22, 2020
1 parent 2e904e4 commit 7c31551
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NuGet.Config → .github/NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="FKnS.json" value="https://nuget.pkg.github.com/ForksKnivesAndSpoons/index.json" />
<add key="FKnS" value="https://nuget.pkg.github.com/ForksKnivesAndSpoons/index.json" />
</packageSources>
<packageSourceCredentials>
<FKnS>
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the applications
shell: pwsh
run: msbuild $env:Project_Name.sln -m /t:Restore /p:Configuration=$env:Configuration
run: |
cp .github/NuGet.Config .
msbuild $env:Project_Name.sln -m /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
NUGET_USERNAME: ${{ github.repository_owner }}
Expand Down

0 comments on commit 7c31551

Please sign in to comment.