diff --git a/publish-nuget/action.yaml b/publish-nuget/action.yaml index e5354c5..3005cd4 100644 --- a/publish-nuget/action.yaml +++ b/publish-nuget/action.yaml @@ -50,6 +50,7 @@ runs: shell: bash run: | nix-shell --run 'set -o pipefail; set -o nounset; set -o errexit; + dotnet nuget remove source gitea 2>&1 > /dev/null || true dotnet nuget add source --name ${{ inputs.source-name }} "https://${{ inputs.registry }}/api/packages/${{ inputs.registry-owner }}/nuget/index.json"' - name: Restore dependencies