diff --git a/minio/mc-cp/action.yaml b/minio/mc-cp/action.yaml index 20483b0..4654a64 100644 --- a/minio/mc-cp/action.yaml +++ b/minio/mc-cp/action.yaml @@ -35,8 +35,10 @@ runs: id: command run: | # Replace each space with a backslash and a space - TARGET="${${{ inputs.target }}// /\\ }" - DEST="${${{ inputs.dest }}// /\\ }" + TARGET="${{ inputs.target }}" + TARGET="${TARGET// /\\ }" + DEST="${{ inputs.dest }}" + DEST="${DEST// /\\ }" COMMAND="cp $TARGET $DEST" RECURSIVE="${{ inputs.recursive }}" if [[ "$RECURSIVE" == "true" ]]; then