From 903dc498880c830dbc1895cb874209ab7ca81b00 Mon Sep 17 00:00:00 2001 From: Scion Date: Tue, 1 Jul 2025 13:44:31 -0700 Subject: [PATCH] Uodated more actions. --- nuget/nuget-install/action.yaml | 2 +- nuget/nuget/action.yaml | 5 ++++- utils/mktemp/action.yaml | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/nuget/nuget-install/action.yaml b/nuget/nuget-install/action.yaml index ad05b80..8fdc8d4 100644 --- a/nuget/nuget-install/action.yaml +++ b/nuget/nuget-install/action.yaml @@ -34,7 +34,7 @@ inputs: source: description: "Name of the source to use." required: true - default: lewdorg + default: ${{ github.repository_owner }} url: description: "Url of the NuGet repository." required: true diff --git a/nuget/nuget/action.yaml b/nuget/nuget/action.yaml index 3001900..2d19345 100644 --- a/nuget/nuget/action.yaml +++ b/nuget/nuget/action.yaml @@ -14,7 +14,10 @@ inputs: url: description: "Url of the NuGet repository." required: false - default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json + # This is for GitHub. + #default: ${{ github.server_url }}/_registry/nuget/${{ github.repository_owner }}/index.json + # This is for Gitea. + default: ${{ github.server_url }}/api/packages/${{ github.repository_owner }}/nuget/index.json username: description: "Username for the nuget repository to search." required: false diff --git a/utils/mktemp/action.yaml b/utils/mktemp/action.yaml index c7d4bdd..7794293 100644 --- a/utils/mktemp/action.yaml +++ b/utils/mktemp/action.yaml @@ -44,7 +44,7 @@ runs: if [[ $INPUT_TYPE == 'auto' ]]; then INPUT_TYPE="${{ steps.getinputtype.outputs.type }}" fi - + #Store in a heredoc to account for quotes. INPUT=$(cat <