mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-04-20 03:33:29 +00:00
fix substitution?
This commit is contained in:
parent
4172428f49
commit
765833ffce
@ -68,7 +68,7 @@ chmod +x ${TARGET}
|
|||||||
echo "======= CLI Version ======="
|
echo "======= CLI Version ======="
|
||||||
sh -c "${TARGET} --version" # print version
|
sh -c "${TARGET} --version" # print version
|
||||||
echo "==========================="
|
echo "==========================="
|
||||||
if [ ${{ inputs.capture_stdout }} == 'true' ] || [ "${{ inputs.capture_stderr }}" == 'true' ]; then
|
if [ "${{ inputs.capture_stdout }}" == 'true' ] || [ "${{ inputs.capture_stderr }}" == 'true' ]; then
|
||||||
_stdout=/dev/stdout
|
_stdout=/dev/stdout
|
||||||
_stderr=/dev/stderr
|
_stderr=/dev/stderr
|
||||||
if [ "${{ inputs.capture_stdout }}" == 'true' ]; then
|
if [ "${{ inputs.capture_stdout }}" == 'true' ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user