Skip to content

Commit 16ed34f

Browse files
committed
- nuget source secret configuration
1 parent 9b125f0 commit 16ed34f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
uses: actions/setup-dotnet@v4
1818
with:
1919
dotnet-version: 8.x
20+
- name: Remove Github nuget source that was added with nuget.config
21+
run: dotnet nuget remove source github --configfile nuget.config
22+
- name: Add Github nuget source
23+
run: dotnet nuget add source https://nuget.pkg.github.com/KinNeko-De/index.json --name github --username KinNeko-De --password ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text --configfile nuget.config
2024
- name: Restore dependencies
2125
run: dotnet restore ${{ env.csharp_project }} --configfile nuget.config
2226
- name: Build

0 commit comments

Comments
 (0)