@@ -36,14 +36,14 @@ jobs:
3636 dotnet publish -c Release -r win-x64 src\MediaConverters\MediaConverters.Tool\MediaConverters.Tool.csproj
3737 dotnet pack --configuration Release /p:RuntimeIdentifier=win-x64 src\MediaConverters\MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj
3838
39- - name : Add private GitHub registry to NuGet
40- run : |
41- dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json"
39+ # - name: Add private GitHub registry to NuGet
40+ # run: |
41+ # dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json"
4242
4343 - name : Push generated package to NuGet
4444 run : |
4545 dotnet nuget push .\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
46- dotnet nuget push .\bin\Release\*.nupkg -s github --timeout 3000
46+ dotnet nuget push .\bin\Release\*.nupkg -s https://nuget.pkg. github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
4747
4848 PackOnWindowsArm64 :
4949
@@ -64,16 +64,12 @@ jobs:
6464 - name : Publish and Pack win-arm64
6565 run : |
6666 dotnet publish -c Release -r win-arm64 src\MediaConverters\MediaConverters.Tool\MediaConverters.Tool.csproj
67- dotnet pack --configuration Release /p:RuntimeIdentifier=win-arm64 src\MediaConverters\MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj
68-
69- - name : Add private GitHub registry to NuGet
70- run : |
71- dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json"
67+ dotnet pack --configuration Release /p:RuntimeIdentifier=win-arm64 src\MediaConverters\MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj
7268
7369 - name : Push generated package to NuGet
7470 run : |
7571 dotnet nuget push .\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
76- dotnet nuget push .\bin\Release\*.nupkg -s github --timeout 3000
72+ dotnet nuget push .\bin\Release\*.nupkg -s https://nuget.pkg. github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
7773
7874 PackOnLinuxX64 :
7975
@@ -105,14 +101,14 @@ jobs:
105101 dotnet publish -c Release -r linux-x64 src/MediaConverters/MediaConverters.Tool/MediaConverters.Tool.csproj
106102 dotnet pack --configuration Release /p:RuntimeIdentifier=linux-x64 src/MediaConverters/MediaConverters.Tool.RuntimeNuGet/MediaConverters.Tool.RuntimeNuGet.csproj
107103
108- - name : Add private GitHub registry to NuGet
109- run : |
110- dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json"
104+ # - name: Add private GitHub registry to NuGet
105+ # run: |
106+ # dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json"
111107
112108 - name : Push generated package to NuGet
113109 run : |
114110 dotnet nuget push ./bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
115- dotnet nuget push ./bin/Release/*.nupkg -s github --timeout 3000
111+ dotnet nuget push ./bin/Release/*.nupkg -s https://nuget.pkg. github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
116112
117113 PackOnLinuxArm64 :
118114
@@ -144,11 +140,11 @@ jobs:
144140 dotnet publish -c Release -r linux-arm64 src/MediaConverters/MediaConverters.Tool/MediaConverters.Tool.csproj
145141 dotnet pack --configuration Release /p:RuntimeIdentifier=linux-arm64 src/MediaConverters/MediaConverters.Tool.RuntimeNuGet/MediaConverters.Tool.RuntimeNuGet.csproj
146142
147- - name : Add private GitHub registry to NuGet
148- run : |
149- dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json"
143+ # - name: Add private GitHub registry to NuGet
144+ # run: |
145+ # dotnet nuget add source --username dotnet-campus --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/dotnet-campus/index.json"
150146
151147 - name : Push generated package to NuGet
152148 run : |
153149 dotnet nuget push ./bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
154- dotnet nuget push ./bin/Release/*.nupkg -s github --timeout 3000
150+ dotnet nuget push ./bin/Release/*.nupkg -s https://nuget.pkg. github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
0 commit comments