File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,11 +44,10 @@ jobs:
4444 dotnet pack src/TonapiClient/TonapiClient.csproj --no-build --configuration Release --output ./artifacts
4545
4646 - 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
47+ run : |
48+ dotnet nuget remove source github || true
49+ dotnet nuget add source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --name github --username "${{ github.repository_owner }}" --password "${{ secrets.PAT_TOKEN }}" --store-password-in-clear-text
50+
5251
5352 - name : Publish to GitHub Packages
5453 run : dotnet nuget push ./artifacts/*.nupkg --source "github" --skip-duplicate
You can’t perform that action at this time.
0 commit comments