test
This commit is contained in:
@@ -25,9 +25,6 @@ inputs:
|
||||
description: "Additional arguments."
|
||||
required: false
|
||||
outputs:
|
||||
files:
|
||||
description: "The path of the found file."
|
||||
value: ${{ steps.output.outputs.files }}
|
||||
console:
|
||||
description: "The console output of the command."
|
||||
value: ${{ steps.output.outputs.console }}
|
||||
@@ -41,16 +38,12 @@ runs:
|
||||
id: command
|
||||
run: |
|
||||
COMMAND="find \"${{ inputs.path }}\" ${{ inputs.additionalArgs }}"
|
||||
echo "command=$COMMAND" >> "$GITHUB_OUTPUT"
|
||||
|
||||
if [[ -n "${{ inputs.name }}" ]]; then
|
||||
COMMAND="$COMMAND --name \"${{ inputs.name }}\""
|
||||
fi
|
||||
|
||||
if [[ -n "${{ inputs.tags }}" ]]; then
|
||||
COMMAND="$COMMAND --exec \"mc tag list {}\""
|
||||
fi
|
||||
|
||||
echo "command=$COMMAND" >> "$GITHUB_OUTPUT"
|
||||
shell: bash
|
||||
- name: "Find file in S3."
|
||||
id: find
|
||||
|
||||
Reference in New Issue
Block a user