Uodated more actions.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user