File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 dotnet-version : 10.0.x
7070 - name : Generate NuGet package
7171 run : dotnet pack --configuration Release --output ./packages
72- - name : Publish NuGet package
72+ - name : Publish NuGet package to nuget
7373 run : dotnet nuget push ./packages/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
74+ - name : Add github source
75+ run : dotnet nuget add source --username TiLied --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/TiLied/index.json"
76+ - name : Publish NuGet package to github
77+ run : dotnet nuget push ./packages/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
7478 - run : cat ./CSharpToJavaScript.csproj
7579 - name : Upload nuget artifact
7680 uses : actions/upload-artifact@v7
You can’t perform that action at this time.
0 commit comments