Skip to content

Commit 3f2ba84

Browse files
committed
ci: Only use NuGet config for CI
1 parent 5932827 commit 3f2ba84

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

nuget.config renamed to .github/workflows/nuget.config

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,4 @@
1212
<add key="ClearTextPassword" value="%GITHUB_TOKEN%"/>
1313
</GitHub>
1414
</packageSourceCredentials>
15-
16-
<disabledPackageSources>
17-
<add key="GitHub" value="true"/>
18-
</disabledPackageSources>
1915
</configuration>

.github/workflows/package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- name: Publish the package
2222
run: |
2323
dotnet pack -o out --configuration Release
24+
cp ./.github/workflows/nuget.config ./
2425
dotnet nuget push SierraLib.API.Views/out/*.nupkg -s GitHub
2526
env:
2627
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)