diff --git a/.gitignore b/.gitignore index 64b754b..144e5f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ .direnv/ +.env diff --git a/publish-nuget/action.yaml b/publish-nuget/action.yaml index 74d0b2e..d00fef8 100644 --- a/publish-nuget/action.yaml +++ b/publish-nuget/action.yaml @@ -55,6 +55,7 @@ runs: run: | nix-shell -p ${{ inputs.dotnet-sdk }} --run ' set -euo pipefail + dotnet nuget remove source "${{ inputs.source-name }}" || true dotnet nuget add source \ --name "${{ inputs.source-name }}" \ "https://${{ inputs.registry }}/api/packages/${{ inputs.registry-owner }}/nuget/index.json"