Uodated more actions.

This commit is contained in:
2025-07-01 13:44:31 -07:00
parent bc6e74a84a
commit 903dc49888
3 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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 <<EOF
${{ inputs.input }}
@@ -52,4 +52,4 @@ runs:
)
bash ${{ github.action_path }}/make_temp.sh "$INPUT" "$INPUT_TYPE" "${{ inputs.outputType }}" "${{ inputs.transferType }}" "${{ inputs.tmpDir }}" "${{ inputs.additionalArgs }}"
shell: bash
shell: bash