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