From 8b6defe9736cf25171e047cd177f6363312b7720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20J=C3=B6rg?= Date: Thu, 12 Feb 2026 17:16:32 +0100 Subject: [PATCH] fix: Don't pack with same token --- .gitignore | 1 + publish-nuget/action.yaml | 1 + 2 files changed, 2 insertions(+) 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"