Added MinIO
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
name: busybox
|
||||
description: "Run busybox commands."
|
||||
inputs:
|
||||
#Note: Passing in "args" overwrites the arguments passed into the container directly.
|
||||
args:
|
||||
description: "Shell command to pass into busybox."
|
||||
description: "Shell arguments to pass into busybox."
|
||||
required: true
|
||||
outputs:
|
||||
console:
|
||||
@@ -12,4 +11,4 @@ runs:
|
||||
using: docker
|
||||
image: Dockerfile
|
||||
args:
|
||||
- ${{ inputs.args }}
|
||||
- ${{ inputs.args }}
|
||||
|
||||
@@ -7,9 +7,10 @@ echo "$OUTPUT"
|
||||
|
||||
#Output multiline strings.
|
||||
#https://trstringer.com/github-actions-multiline-strings/
|
||||
OUTPUT="${OUTPUT//'%'/'%25'}"
|
||||
OUTPUT="${OUTPUT//$'\n'/'%0A'}"
|
||||
OUTPUT="${OUTPUT//$'\r'/'%0D'}"
|
||||
echo "::set-output name=console::$OUTPUT"
|
||||
if [[ -n "$OUTPUT" ]]; then
|
||||
echo "console<<EOF" >> "$GITHUB_OUTPUT"
|
||||
echo "$OUTPUT" >> "$GITHUB_OUTPUT"
|
||||
echo "EOF" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
exit $RESULT
|
||||
Reference in New Issue
Block a user