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: source:
description: "Name of the source to use." description: "Name of the source to use."
required: true required: true
default: lewdorg default: ${{ github.repository_owner }}
url: url:
description: "Url of the NuGet repository." description: "Url of the NuGet repository."
required: true required: true

View File

@@ -14,7 +14,10 @@ inputs:
url: url:
description: "Url of the NuGet repository." description: "Url of the NuGet repository."
required: false 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: username:
description: "Username for the nuget repository to search." description: "Username for the nuget repository to search."
required: false required: false

View File

@@ -44,7 +44,7 @@ runs:
if [[ $INPUT_TYPE == 'auto' ]]; then if [[ $INPUT_TYPE == 'auto' ]]; then
INPUT_TYPE="${{ steps.getinputtype.outputs.type }}" INPUT_TYPE="${{ steps.getinputtype.outputs.type }}"
fi fi
#Store in a heredoc to account for quotes. #Store in a heredoc to account for quotes.
INPUT=$(cat <<EOF INPUT=$(cat <<EOF
${{ inputs.input }} ${{ 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 }}" bash ${{ github.action_path }}/make_temp.sh "$INPUT" "$INPUT_TYPE" "${{ inputs.outputType }}" "${{ inputs.transferType }}" "${{ inputs.tmpDir }}" "${{ inputs.additionalArgs }}"
shell: bash shell: bash