File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 dotnet restore src/TonapiClient/TonapiClient.csproj
4343 dotnet build src/TonapiClient/TonapiClient.csproj --no-restore --configuration Release
4444 dotnet pack src/TonapiClient/TonapiClient.csproj --no-build --configuration Release --output ./artifacts
45+
46+ - name : Add GitHub Packages source
47+ run : dotnet nuget add source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
48+ --name "github" \
49+ --username "${{ github.repository_owner }}" \
50+ --password "${{ secrets.PAT_TOKEN }}" \
51+ --store-password-in-clear-text
52+
53+ - name : Publish to GitHub Packages
54+ run : dotnet nuget push ./artifacts/*.nupkg --source "github" --skip-duplicate
4555
4656 - name : Publish to NuGet
4757 run : dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments